User-provided configuration.
Basic keys are:
username => (string) Connect to the database as this username. password => (string) Password associated with the username. host => (string) What host to connect to (default 127.0.0.1) dbname => (string) The name of the database to user
Additional keys are processed as key-value pairs for a PDO DSN string.
Fetch mode.
Query profiler.
Leave autocommit mode and begin a transaction.
Commit a transaction and return to autocommit mode.
Deletes table rows based on a WHERE clause.
Returns the column descriptions for a table.
Fetches all SQL result rows as a sequential array.
Fetches all SQL result rows as an associative array.
The first column is the key, the entire row array is the value.
Fetches the first column of all SQL result rows as an array.
The first column in each row is used as the array key.
Fetches the first column of the first row of the SQL result.
Fetches all SQL result rows as an array of key-value pairs.
The first column is the key, the second column is the value.
Fetches the first row of the SQL result.
Get the fetch mode.
Inserts a table row with specified data.
Gets the last inserted ID.
Adds an adapter-specific LIMIT clause to the SELECT statement.
Returns a list of the tables in the database.
Returns an SQL statement for preparation.
Executes an SQL statement with bound data.
Safely quotes a value for an SQL statement.
If an array is passed as the value, the array values are quoted and then returned as a comma-separated string.
Quotes an identifier.
Quotes a value and places into a piece of text at a placeholder.
The placeholder is a question-mark; all placeholders will be replaced with the quoted value. For example:
- $text = "WHERE date < ?";
- $date = "2005-01-02";
- $safe = $sql->quoteInto($text, $date);
- // $safe = "WHERE date < '2005-01-02'"
Roll back a transaction and return to autocommit mode.
Creates and returns a new Zend_Db_Select object for this adapter.
Set the fetch mode.
Updates table rows with specified data based on a WHERE clause.
Creates a connection resource.
Documentation generated on Wed, 08 Mar 2006 04:53:42 -0800 by phpDocumentor 1.3.0RC4