Converter
interface Converter (View source)
Interface for type conversions.
Methods
mixed
convertFromString(string $data, int $type)
Convert a string received from the PostgreSQL server back to a PHP type.
string
convertToString(mixed $value, int $type)
Convert a value to a string for use in a query.
array
convertTypes()
Announce which types the implementing converter can handle.
Details
mixed
convertFromString(string $data, int $type)
Convert a string received from the PostgreSQL server back to a PHP type.
string
convertToString(mixed $value, int $type)
Convert a value to a string for use in a query.
array
convertTypes()
Announce which types the implementing converter can handle.