- Source:
Acceptable Operands
Members
(static) between
- Source:
Check Op1 is between OP2
Example
infant_count:{between:[1,2]}
(static) eql
- Source:
check two value are eql
Example
destination_airport_city_name:{eql:'kuala lumpur'}
(static) equalExactDate
- Source:
Check op1 be eql to a special date string.
Example
passport_expiry: {equalExactDate: {specificDate:'2017-08-25 +08:00'}}
(static) exList
- Source:
Check Op1 dose not exist in target list.
Example
flight:{sta:{exList:['IKA']}}
(static) greaterThan
- Source:
Check Op1 is greater than op2
Example
infant_count:{greaterThan:5}
(static) inList
- Source:
check op1 is in target list.
Example
flight:{sta:{inList:['IKA']}}
(static) last
- Source:
Check OP1 is in last time/date before the calculated OP2 from today.
Example
"sta":{
"last":"24 hours"
}
(static) lessThan
- Source:
Check Op1 is less than op2
Example
infant_count:{lessThan:5}
(static) like
- Source:
check two string is like together, this command flow the like syntax in SQL language.
Example
flight_number:{like:'2_5%'}
(static) next
- Source:
Check OP1 is in next time/date after the calculated op2 from today.
Example
"sta":{
"next":"24 hours"
}
(static) today
- Source:
Check Op1 is eql to Today date
Example
passport_expiry:{ today:'today'}