Trait FieldTrait
Contains the field property with a getter and a setter for it
Namespace: Cake\Database\Expression
Properties summary
-
$_field protected
string|array|\Cake\Database\ExpressionInterface
The field name or expression to be used in the left hand side of the operator
Method Summary
-
getField() public
Returns the field name
-
setField() public
Sets the field name
Method Detail
getField() public ¶
getField()
Returns the field name
Returns
string|array|\Cake\Database\ExpressionInterface
setField() public ¶
setField(mixed $field)
Sets the field name
Parameters
-
string|array|\Cake\Database\ExpressionInterface
$field The field to compare with.
Property Detail
$_field ¶ protected
The field name or expression to be used in the left hand side of the operator
Type
string|array|\Cake\Database\ExpressionInterface