Edit
↰
Home
↑
pq
↑
Transaction
↻
Transaction::openLOB
↲
Transaction::__construct
↲
Transaction::commit
↲
Transaction::commitAsync
↲
Transaction::createLOB
↲
Transaction::exportLOB
↲
Transaction::exportSnapshot
↲
Transaction::exportSnapshotAsync
↲
Transaction::importLOB
↲
Transaction::importSnapshot
↲
Transaction::importSnapshotAsync
↲
Transaction::rollback
↲
Transaction::rollbackAsync
↲
Transaction::savepoint
↲
Transaction::savepointAsync
↲
Transaction::unlinkLOB
#
pq\LOB
pq\Transaction::openLOB
(
int
$oid
[,
int
$mode
=
pq\LOB::RW
])
Open a
large object
. See
pq\Transaction::createLOB
().
Params:
#
int
$oid
#
The OID of the
large object
.
Optional
int
$mode
#
=
pq\LOB::RW
Operational mode; read, write or both.
Returns:
#
pq\LOB
, instance of the opened
large object
.
Throws:
#
pq\Exception\InvalidArgumentException
pq\Exception\BadMethodCallException
pq\Exception\RuntimeException
Show Comments from Github Discussions