missing bits
[mdref/mdref-pq] / pq / LOB / __construct.md
1 # void pq\LOB::__construct(pq\Transaction $txn[, int $oid = pq\LOB::INVALID_OID[, int $mode = pq\LOB::RW]])
2
3 Open or create a *large object*.
4 See pq\Transcation::openLOB() and pq\Transaction::createLOB().
5
6 ## Params:
7
8 * pq\Transaction $txn
9 The transaction which wraps the *large object* operations.
10 * Optional int $oid = pq\LOB::INVALID_OID
11 The OID of the existing *large object* to open.
12 * Optional int $mode = pq\LOB::RW
13 Access mode (read, write or read/write).
14
15 ## Throws:
16
17 * pq\Exception\InvalidArgumentException
18 * pq\Exception\BadMethodCallException
19 * pq\Exception\RuntimeException