Documentation TYPO3 par Ameos |
Public Member Functions | |
_init ($parentDriver) | |
ServerInfo () | |
& | MetaTables ($ttype=false, $showSchema=false, $mask=false) |
& | MetaColumns ($table) |
& | SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs=0) |
Public Attributes | |
$metaTablesSQL = "SHOW TABLES" | |
$metaColumnsSQL = "SHOW COLUMNS FROM %s" | |
$_bindInputArray = false | |
A boolean variable to state whether its a persistent connection or normal connection. */. | |
$sysDate = 'CURDATE()' | |
cache for 1 hour | |
$sysTimeStamp = 'NOW()' | |
name of function that returns the current date |
Definition at line 13 of file adodb-pdo_mysql.inc.php.
|
Reimplemented from ADODB_pdo. Definition at line 36 of file adodb-pdo_mysql.inc.php. References ADOConnection::MetaTables(), and ADOConnection::qstr(). |
|
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 133 of file adodb-pdo_mysql.inc.php. References ADOConnection::CacheExecute(), and ADOConnection::Execute(). |
|
Get server version info...
Reimplemented from ADODB_pdo. Definition at line 29 of file adodb-pdo_mysql.inc.php. References ADOConnection::_findvers(), and ADOConnection::GetOne(). |