lithium\data\source\database\adapter\PostgreSql::value PHP 메소드

value() 공개 메소드

Converts a given value into the proper type based on a given schema definition.
또한 보기: lithium\data\source\Database::schema()
public value ( mixed $value, array $schema = [] ) : mixed
$value mixed The value to be converted. Arrays will be recursively converted.
$schema array Formatted array from `lithium\data\source\Database::schema()`
리턴 mixed Value with converted type.
    public function value($value, array $schema = array())
    {
        if (($result = parent::value($value, $schema)) !== null) {
            return $result;
        }
        return $this->connection->quote((string) $value);
    }