Pt_BR En Ja De Fr 
You are currently viewing the Development branch api documentation. Switch to 1.0 or 1.1

Development 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 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
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 generated by that sequence. On RDBMS brands that support IDENTITY/AUTOINCREMENT


  • $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_Mysqli_Exception


  • _rollBack()

    Roll-back a transaction.


Comments (0) [ add comment ]

 No Comments

Add Comment

Add New Comment
Please enter follow the doctrine