\Cake\Database\ExpressionFieldTrait

Contains the field property with a getter and a setter for it

Summary

Methods
Properties
Constants
setField()
getField()
No public properties found
No constants found
No protected methods found
$_field
N/A
No private methods found
No private properties found
N/A

Properties

$_field

$_field : string|\Cake\Database\ExpressionInterface

The field name or expression to be used in the left hand side of the operator

Type

string|\Cake\Database\ExpressionInterface

Methods

setField()

setField(string|\Cake\Database\ExpressionInterface  $field) : void

Sets the field name

Parameters

string|\Cake\Database\ExpressionInterface $field

The field to compare with.