0.10 Doctrine_Adapter_Mysqli
Doctrine Adapter Mysqli
Doctrine_Adapter_Mysqli This class is used for special testing purposes.
Method Summary
| Returns | Name | Description |
|---|---|---|
| closeConnection | ||
| integer | lastInsertId | Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column. As a convention, on RDBMS brands that support sequences (e.g. Oracle, PostgreSQL, DB2), this method forms the name of a sequence from the arguments and returns the last id gen |
| Doctrine_Statement_Mysqli | prepare | |
| _beginTransaction | ||
| _commit | ||
| _connect | ||
| _rollBack |
Method Details
-
closeConnection()
Force the connection to close.
-
$tableName OPTIONAL Name of table. $primaryKey OPTIONAL Name of primary key column. (integer) lastInsertId($tableName = null, $primaryKey = null)
Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column.
As a convention, on RDBMS brands that support sequences (e.g. Oracle, PostgreSQL, DB2), this method forms the name of a sequence from the arguments and returns the last id gen
-
$sql SQL query (Doctrine_Statement_Mysqli) prepare($sql)
Prepare a statement and return a PDOStatement-like object.
-
_beginTransaction()
Begin a transaction.
-
_commit()
Commit a transaction.
-
_connect()
Creates a connection to the database.
throws Doctrine_Adapter_Exception
-
_rollBack()
Roll-back a transaction.