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
valueparameter is the value of specified field; thequeryparameter is the value passed to the query operator; thedataparameter 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
valueparameter is the value of specified field; theupdateparameter is the value passed to the update operator; thedataparameter is the complete data.The return value will replace the original data.