downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDO::lastInsertId> <PDO::getAvailableDrivers
Last updated: Fri, 20 May 2011

view this page in

PDO::inTransaction

(PHP 5 >= 5.3.3, Bundled pdo_pgsql)

PDO::inTransaction Checks if inside a transaction

Descripción

bool PDO::inTransaction ( void )

Checks if a transaction is currently active within the driver.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns TRUE if a transaction is currently active, and FALSE if not.

Valores devueltos

Note:

Note that currently only the PostgreSQL driver implements this method.



add a note add a note User Contributed Notes PDO::inTransaction
ron korving 14-Jan-2011 05:20
This method actually seems to work fine on PHP5.3.5 (and probably a few older versions).

 
show source | credits | stats | sitemap | contact | advertising | mirror sites