mixed pq\Converter::convertFromString(string $data, int $type)

Convert a string received from the PostgreSQL server back to a PHP type.

Params:

Returns:

Example:


<?php

abstract class Example implements pq\Converter {
    function 
convertFromString($data$type) {
        return 
uuid_parse($data);
    }
}

?>