Interface ExpressionTypeInterface
An interface used by Type objects to signal whether the value should be converted to an ExpressionInterface instead of a string when sent to the database.
Namespace: Cake\Database\Type
Method Summary
-
toExpression() public
Returns an ExpressionInterface object for the given value that can be used in queries.
Method Detail
toExpression() ΒΆ public
toExpression(mixed $value): Cake\Database\ExpressionInterface
Returns an ExpressionInterface object for the given value that can be used in queries.
Parameters
-
mixed
$value The value to be converted to an expression
Returns
Cake\Database\ExpressionInterface