v5:dictionary:metatransaction
This is an old revision of the document!
metaTransaction
See Also
Syntax
string metaTransaction( string $transactionLevel, string $dataProvider )
Description
The method metaTransaction()
returns a database specific isolation level statement for a supplied database and meta transaction level.
Parameters
$transactionLevel
There are 4 available options for this parameter:
- READ UNCOMMITTED
- READ COMMITTED
- REPEATABLE READ
- SERIALIZABLE
$dataProvider
A string representing an ADOdb data provider, not necessarily the currently connected database.
Usage
/* * No valid connection is necessary */ $t = $db->metaTransaction('serializable','oci8'); print $t; /* * prints ISOLATION LEVEL SERIALIZABLE */
Resources
v5/dictionary/metatransaction.1452648712.txt.gz · Last modified: 2017/04/21 11:27 (external edit)