int
pq\LOB::write(string
$data)Write data to the large object.
int
, the number of bytes written.
<?php
$connection = new pq\Connection;
$transaction = $connection->startTransaction();
$transaction->createLOB()->write("Hello World!");
$transaction->rollback();
?>