Public Member Functions | |
hasLimitOffset () | |
applyLimit (&$sql, $offset, $limit) | |
escape ($str) | |
createResultSet ($conn, $odbcresult, $fetchmode) |
Definition at line 37 of file MySQLAdapter.php.
MySQLAdapter::applyLimit | ( | &$ | sql, | |
$ | offset, | |||
$ | limit | |||
) |
Reimplemented from ODBCAdapter.
Definition at line 50 of file MySQLAdapter.php.
00051 { 00052 if ( $limit > 0 ) { 00053 $sql .= " LIMIT " . ($offset > 0 ? $offset . ", " : "") . $limit; 00054 } else if ( $offset > 0 ) { 00055 $sql .= " LIMIT " . $offset . ", 18446744073709551615"; 00056 } 00057 }
MySQLAdapter::createResultSet | ( | $ | conn, | |
$ | odbcresult, | |||
$ | fetchmode | |||
) |
Reimplemented from ODBCAdapter.
Definition at line 70 of file MySQLAdapter.php.
00071 { 00072 // return new ODBCCachedResultSet($conn, $odbcresult, $fetchmode, true); 00073 return new ODBCResultSet($conn, $odbcresult, $fetchmode); 00074 }
MySQLAdapter::escape | ( | $ | str | ) |
Reimplemented from ODBCAdapter.
Definition at line 62 of file MySQLAdapter.php.
MySQLAdapter::hasLimitOffset | ( | ) |
Reimplemented from ODBCAdapter.
Definition at line 42 of file MySQLAdapter.php.