The value parameter is the value of specified field; the query parameter
is the value passed to the query operator; the data parameter is the
complete data.
The return value must be a boolean indicating whether the data passed.
Update operators
To add a update operator, defines a method whose name is started with u$.
For example:
The value parameter is the value of specified field; the update parameter
is the value passed to the update operator; the data parameter is the
complete data.
This is the basic schema type. All schema types should inherit from this class. For example:
Query operators
To add a query operator, defines a method whose name is started with
q$
. For example:The
value
parameter is the value of specified field; thequery
parameter is the value passed to the query operator; thedata
parameter is the complete data.The return value must be a boolean indicating whether the data passed.
Update operators
To add a update operator, defines a method whose name is started with
u$
. For example:The
value
parameter is the value of specified field; theupdate
parameter is the value passed to the update operator; thedata
parameter is the complete data.The return value will replace the original data.