string pq\Converter::convertToString(mixed $value, int $type)

Convert a value to a string for use in a query.

Params:

Returns:

Example:


<?php

abstract class Example implements pq\Converter {
    function 
convertToString($uuid$type)  {
        return 
uuid_unparse($uuid);
    }
}

?>