Namespace Cake\Database\Expression

Classes summary

  • OrderClauseExpression

    An expression object for complex ORDER BY clauses

  • ValuesExpression

    An expression object to contain values being inserted.

  • CaseExpression

    This class represents a SQL Case statement

  • TupleComparison

    This expression represents SQL fragments that are used for comparing one tuple to another, one tuple to a set of other tuples or one tuple to an expression

  • UnaryExpression

    An expression object that represents an expression with only a single operand.

  • BetweenExpression

    An expression object that represents a SQL BETWEEN snippet

  • OrderByExpression

    An expression object for ORDER BY clauses

  • QueryExpression

    Represents a SQL Query expression. Internally it stores a tree of expressions that can be compiled by converting this object to string and will contain a correctly parenthesized and nested expression.

  • IdentifierExpression

    Represents a single identifier name in the database.

  • FunctionExpression

    This class represents a function call string in a SQL statement. Calls can be constructed by passing the name of the function and a list of params.

  • ComparisonExpression

    A Comparison is a type of query expression that represents an operation involving a field an operator and a value. In its most common form the string representation of a comparison is field = value

  • WindowExpression

    This represents a SQL window expression used by aggregate and window functions.

  • AggregateExpression

    This represents a SQL aggregate function expression in a SQL statement.

  • CommonTableExpression

    An expression that represents a common table expression definition.

Interfaces summary

  • FieldInterface

    Describes a getter and a setter for the a field property. Useful for expressions that contain an identifier to compare against.

  • WindowInterface

    This defines the functions used for building window expressions.

Traits summary

  • FieldTrait

    Contains the field property with a getter and a setter for it

© 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/namespace-Cake.Database.Expression.html