Force the connection to close.
API Tags:
integer lastInsertId(
[string
$tableName = null], [string
$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 generated by that sequence. On RDBMS brands that support IDENTITY/AUTOINCREMENT columns, this method returns the last value generated for such a column, and the table name argument is disregarded.
MySQL does not support sequences, so $tableName and $primaryKey are ignored.
Parameters:
string |
$tableName: |
OPTIONAL Name of table. |
string |
$primaryKey: |
OPTIONAL Name of primary key column. |
API Tags:
Doctrine_Statement_Mysqli prepare(
string
$sql
)
|
|
Prepare a statement and return a PDOStatement-like object.
Parameters:
API Tags:
void _beginTransaction(
)
|
|
Begin a transaction.
API Tags:
Commit a transaction.
API Tags:
Creates a connection to the database.
API Tags:
Information Tags:
Throws: | Doctrine_Adapter_Mysqli_Exception |
Roll-back a transaction.
API Tags: