Contains all the logic related to quoting identifiers in a Query object
\Cake\Database\Driver
The driver instance used to do the identifier quoting
Quotes identifiers in expression objects implementing the field interface
Quotes both the table and alias for an array of joins as stored in a Query object
__construct(\Cake\Database\Driver $driver)
Constructor
\Cake\Database\Driver
$driver The driver instance used to do the identifier quoting
_basicQuoter(array $part)
A generic identifier quoting function used for various parts of the query
array
$part the part of the query to quote
array
_quoteComparison(\Cake\Database\Expression\FieldInterface $expression)
Quotes identifiers in expression objects implementing the field interface
\Cake\Database\Expression\FieldInterface
$expression The expression to quote.
_quoteIdentifierExpression(\Cake\Database\Expression\IdentifierExpression $expression)
Quotes identifiers in "order by" expression objects
\Cake\Database\Expression\IdentifierExpression
$expression The identifiers to quote.
_quoteInsert(\Cake\Database\Query $query)
Quotes the table name and columns for an insert query
\Cake\Database\Query
$query The insert query to quote.
_quoteJoins(array $joins)
Quotes both the table and alias for an array of joins as stored in a Query object
array
$joins The joins to quote.
array
_quoteOrderBy(\Cake\Database\Expression\OrderByExpression $expression)
Quotes identifiers in "order by" expression objects
Strings with spaces are treated as literal expressions and will not have identifiers quoted.
\Cake\Database\Expression\OrderByExpression
$expression The expression to quote.
_quoteParts(\Cake\Database\Query $query)
Quotes all identifiers in each of the clauses of a query
\Cake\Database\Query
$query The query to quote.
_quoteUpdate(\Cake\Database\Query $query)
Quotes the table name for an update query
\Cake\Database\Query
$query The update query to quote.
quote(\Cake\Database\Query $query)
Iterates over each of the clauses in a query looking for identifiers and quotes them
\Cake\Database\Query
$query The query to have its identifiers quoted
\Cake\Database\Query
quoteExpression(\Cake\Database\ExpressionInterface $expression)
Quotes identifiers inside expression objects
\Cake\Database\ExpressionInterface
$expression The expression object to walk and quote.
The driver instance used to do the identifier quoting
\Cake\Database\Driver
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.1/class-Cake.Database.IdentifierQuoter.html