v5:activerecord:getactiverecords
This is an old revision of the document!
getActiveRecords
syntax
void getActiveRecords( string $tableName, optional string $where=false, optional mixed[] $bindarr=false, optional mixed[] $primaryKeyArray=false )
getActiveRecordsClass
syntax
void getActiveRecordsClass( string $class, string $tableName, optional string $where=false, optional mixed[] $bindarr=false, optional mixed[] $primaryKeyArray=false, optional mixed[] $queryExtras=array(), optional mixed[] $relationsData=array() )
Description
GetActiveRecordsClass Performs an 'ALL' query
Parameters
$tableName
Table used by the active record object
$where
Where clause
$bindarr
$primaryKeyArray
Usage
include 'adodb/adodb.inc.php'; include 'adodb/adodb-activerecord.inc.php'; $db = NewADOConnection('mysqli'); $db->connect('','user','password','employees'); $activeRecs = $db->GetActiveRecords('departments');
v5/activerecord/getactiverecords.1449274317.txt.gz · Last modified: 2017/04/21 11:21 (external edit)