1 # int pq\LOB::write(string $data)
3 Write data to the *large object*.
8 The data that should be writte to the current position.
12 * int, the number of bytes written.
16 * pq\Exception\InvalidArgumentException
17 * pq\Exception\BadMethodCallException
18 * pq\Exception\RuntimeException
24 $connection = new pq\Connection;
25 $transaction = $connection->startTransaction();
27 $transaction->createLOB()->write("Hello World!");
28 $transaction->rollback();