void
pq\Transaction::__construct(pq\Connection $conn[, bool
$async = FALSE
[, int
$isolation = pq\Transaction::READ_COMMITTED[, bool
$readonly = FALSE
[, bool
$deferrable = FALSE
]]]])Start a transaction. See pq\Connection::startTransaction().
bool
$async# = FALSE
int
$isolation# = pq\Transaction::READ_COMMITTEDbool
$readonly# = FALSE
bool
$deferrable# = FALSE
<?php
$connection = new pq\Connection;
$transaction = new pq\Transaction(
$connection, FALSE, pq\Transaction::REPEATABLE_READ);
?>