|
| getQuoteIdentifierSymbol () |
|
| listTables () |
| Returns a list of the tables in the database.
|
|
| describeTable ($tableName, $schemaName=null) |
| Returns the column descriptions for a table.
|
|
| limit ($sql, $count, $offset=0) |
| Adds an adapter-specific LIMIT clause to the SELECT statement.
|
|
| isConnected () |
| Test if a connection is active.
|
|
| closeConnection () |
| Force the connection to close.
|
|
| prepare ($sql) |
| Prepares an SQL statement.
|
|
| lastInsertId ($tableName=null, $primaryKey=null) |
| Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column.
|
|
| query ($sql, $bind=array()) |
| Special handling for PDO query().
|
|
| exec ($sql) |
| Executes an SQL statement and return the number of affected rows.
|
|
| setFetchMode ($mode) |
| Set the PDO fetch mode.
|
|
| supportsParameters ($type) |
| Check if the adapter supports real SQL parameters.
|
|
| getServerVersion () |
| Retrieve server version in PHP style.
|
|
| __construct ($config) |
| Constructor.
|
|
| getConnection () |
| Returns the underlying database connection object or resource.
|
|
| getConfig () |
| Returns the configuration variables in this adapter.
|
|
| setProfiler ($profiler) |
| Set the adapter's profiler object.
|
|
| getProfiler () |
| Returns the profiler for this adapter.
|
|
| getStatementClass () |
| Get the default statement class.
|
|
| setStatementClass ($class) |
| Set the default statement class.
|
|
| query ($sql, $bind=array()) |
| Prepares and executes an SQL statement with bound data.
|
|
| beginTransaction () |
| Leave autocommit mode and begin a transaction.
|
|
| commit () |
| Commit a transaction and return to autocommit mode.
|
|
| rollBack () |
| Roll back a transaction and return to autocommit mode.
|
|
| insert ($table, array $bind) |
| Inserts a table row with specified data.
|
|
| update ($table, array $bind, $where= '') |
| Updates table rows with specified data based on a WHERE clause.
|
|
| delete ($table, $where= '') |
| Deletes table rows based on a WHERE clause.
|
|
| select () |
| Creates and returns a new Zend_Db_Select object for this adapter.
|
|
| getFetchMode () |
| Get the fetch mode.
|
|
| fetchAll ($sql, $bind=array(), $fetchMode=null) |
| Fetches all SQL result rows as a sequential array.
|
|
| fetchRow ($sql, $bind=array(), $fetchMode=null) |
| Fetches the first row of the SQL result.
|
|
| fetchAssoc ($sql, $bind=array()) |
| Fetches all SQL result rows as an associative array.
|
|
| fetchCol ($sql, $bind=array()) |
| Fetches the first column of all SQL result rows as an array.
|
|
| fetchPairs ($sql, $bind=array()) |
| Fetches all SQL result rows as an array of key-value pairs.
|
|
| fetchOne ($sql, $bind=array()) |
| Fetches the first column of the first row of the SQL result.
|
|
| quote ($value, $type=null) |
| Safely quotes a value for an SQL statement.
|
|
| quoteInto ($text, $value, $type=null, $count=null) |
| Quotes a value and places into a piece of text at a placeholder.
|
|
| quoteIdentifier ($ident, $auto=false) |
| Quotes an identifier.
|
|
| quoteColumnAs ($ident, $alias, $auto=false) |
| Quote a column identifier and alias.
|
|
| quoteTableAs ($ident, $alias=null, $auto=false) |
| Quote a table identifier and alias.
|
|
| getQuoteIdentifierSymbol () |
| Returns the symbol the adapter uses for delimited identifiers.
|
|
| lastSequenceId ($sequenceName) |
| Return the most recent value from the specified sequence in the database.
|
|
| nextSequenceId ($sequenceName) |
| Generate a new value from the specified sequence in the database, and return it.
|
|
| foldCase ($key) |
| Helper method to change the case of the strings used when returning result sets in FETCH_ASSOC and FETCH_BOTH modes.
|
|
| __sleep () |
| called when object is getting serialized This disconnects the DB object that cant be serialized
|
|
| __wakeup () |
| called when object is getting unserialized
|
|
| listTables () |
| Abstract Methods.
|
|
| describeTable ($tableName, $schemaName=null) |
| Returns the column descriptions for a table.
|
|
| isConnected () |
| Test if a connection is active.
|
|
| closeConnection () |
| Force the connection to close.
|
|
| prepare ($sql) |
| Prepare a statement and return a PDOStatement-like object.
|
|
| lastInsertId ($tableName=null, $primaryKey=null) |
| Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column.
|
|
| setFetchMode ($mode) |
| Set the fetch mode.
|
|
| limit ($sql, $count, $offset=0) |
| Adds an adapter-specific LIMIT clause to the SELECT statement.
|
|
| supportsParameters ($type) |
| Check if the adapter supports real SQL parameters.
|
|
| getServerVersion () |
| Retrieve server version in PHP style.
|
|