\Cake\Database\TypeExpressionTypeInterface

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.

Summary

Methods
Constants
toExpression()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

toExpression()

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