fix docs, add missing "}", fix formatting
[mdref/mdref-pq] / pq / Transaction / openLOB.md
1 # pq\LOB pq\Transaction::openLOB(int $oid[, int $mode = pq\LOB::RW])
2
3 Open a *large object*.
4 See pq\Transaction::createLOB().
5
6 ## Params:
7
8 * int $oid
9 The OID of the *large object*.
10 * Optional int $mode = pq\LOB::RW
11 Operational mode; read, write or both.
12
13 ## Returns:
14
15 * pq\LOB, instance of the opened *large object*.
16
17 ## Throws:
18
19 * pq\Exception\InvalidArgumentException
20 * pq\Exception\BadMethodCallException
21 * pq\Exception\RuntimeException