ExpressionTypeInterface (class)

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.

Method Summary

  • Returns an ExpressionInterface object for the given value that can be used in queries.

Method Detail

toExpression()source public

toExpression( mixed $value )

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

© 2005–2017 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/3.4/class-Cake.Database.Type.ExpressionTypeInterface.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部