1 # string pq\Converter::convertToString(mixed $value, int $type)
3 Convert a value to a string for use in a query.
8 The PHP value which should be converted to a string.
10 The type OID the converter should handle. Irrelevant for singly-type converters.
14 * string, a textual represenation of the value accepted by the PostgreSQL server.
20 abstract class Example implements pq\Converter {
21 function convertToString($uuid, $type) {
22 return uuid_unparse($uuid);