"TYPO3 4.0.1: ADODB_pdo_base Class Reference", "datetime" => "Sat Dec 2 19:23:44 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>


Public Member Functions | |
| _init ($parentDriver) | |
| ServerInfo () | |
| SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0) | |
| MetaTables () | |
| MetaColumns () | |
Public Attributes | |
| $sysDate = "'?'" | |
| cache for 1 hour | |
| $sysTimeStamp = "'?'" | |
| name of function that returns the current date | |
Definition at line 67 of file adodb-pdo.inc.php.
|
||||||||||||||||||||||||
|
Will select, getting rows from $offset (1-based), for $nrows. This simulates the MySQL "select * from table limit $offset,$nrows" , and the PostgreSQL "select * from table limit $nrows offset $offset". Note that MySQL and PostgreSQL parameter ordering is the opposite of the other. eg. SelectLimit('select * from table',3); will return rows 1 to 3 (1-based) SelectLimit('select * from table',3,2); will return rows 3 to 5 (1-based) Uses SELECT TOP for Microsoft databases (when $this->hasTop is set) BUG: Currently SelectLimit fails with $sql with LIMIT or TOP clause already set
Reimplemented from ADODB_pdo. Definition at line 84 of file adodb-pdo.inc.php. References ADOConnection::SelectLimit(). |
|
|
Get server version info...
Reimplemented from ADODB_pdo. Definition at line 79 of file adodb-pdo.inc.php. References ADOConnection::ServerInfo(). |