Equals

Equals

Represents the clause of equals condition.

Constructor

new Equals(field, value)

Create a equals condition.
Parameters:
Name Type Description
field string Field name of comparison.
value string Value to be compared.
Properties:
Name Type Description
field string Field name of comparison.
value string | number | boolean Value to be compared.

Methods

(static) fromJson(obj) → {Equals}

This method is for internal use only.
Parameters:
Name Type Description
obj JSON object that represented a equals condition.
Returns:
Equals instance
Type
Equals

toJson() → {Object}

This method is for internal use only.
Returns:
JSON object that represented this instance.
Type
Object