1 # mixed pq\Converter::convertFromString(string $data, int $type)
3 Convert a string received from the PostgreSQL server back to a PHP type.
8 String data received from the server.
10 The type OID of the data. Irrelevant for single-type converters.
14 * mixed, the value converted to a PHP type.
20 abstract class Example implements pq\Converter {
21 function convertFromString($data, $type) {
22 return uuid_parse($data);