protected function escape($value)
    {
        if ($value === null) {
            return 'NULL';
        }

        if (is_integer($value) || is_float($value)) {
            return $value;
        }

        return $this->pdo->quote($value);
    }
protected function escape($value)
    {
        if ($value === null) {
            return 'NULL';
        }

        if (is_integer($value) || is_float($value)) {
            return $value;
        }

        return $this->pdo->quote($value);
    }
protected function escape ( $ value ) { if ( $ value === null ) { return 'NULL' ; } if ( is_integer ( $ value ) || is_float ( $ value ) ) { return $ value ; } return $ this -> pdo -> quote ( $ value ) ; }
Escapes a value for a use in a SQL statement.

@param  mixed $value
@return string
Escapes a value for a use in a SQL statement .