string metaTransaction( string $transactionLevel, string $dataProvider )
The method metaTransaction()
returns a database specific isolation level statement for a supplied database and meta transaction level.
There are 4 available options for this parameter:
A string representing an ADOdb data provider, not necessarily the currently connected database.
/* * No valid connection is necessary */ $t = $db->metaTransaction('serializable','oci8'); print $t; /* * prints ISOLATION LEVEL SERIALIZABLE */