On this page
Trait FieldTrait
Contains the field property with a getter and a setter for it
Namespace: Cake\Database\Expression
Property Summary
-
$_field protected
Cake\Database\ExpressionInterface|array|string
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(): Cake\Database\ExpressionInterface|array|string
Returns the field name
Returns
Cake\Database\ExpressionInterface|array|string
setField() public
setField(Cake\Database\ExpressionInterface|array|string $field): void
Sets the field name
Parameters
Cake\Database\ExpressionInterface|array|string
$field-
The field to compare with.
Returns
void
Property Detail
$_field protected
The field name or expression to be used in the left hand side of the operator
Type
Cake\Database\ExpressionInterface|array|string
© 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.4/trait-Cake.Database.Expression.FieldTrait.html