Created
August 14, 2018 17:26
-
-
Save bheyde/b247dfa5694e98aaf65b58c9467f9623 to your computer and use it in GitHub Desktop.
Parenthetical comparisons can be accomplished using the "SUBWHERE" operator and special field names "search", "search_AND" and "search_OR"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Filter": | |
[ | |
{ | |
"name": "search", | |
"value": | |
[ | |
{ | |
"field": "ship_lname", | |
"operator": "EQ", | |
"value": "Burchmore" | |
}, | |
{ | |
"field": "search_OR", | |
"operator": "SUBWHERE", | |
"value": | |
[ | |
{ | |
"field": "ship_fname", | |
"operator": "EQ", | |
"value": "Ryan" | |
}, | |
{ | |
"field": "ship_lname", | |
"operator": "EQ", | |
"value": "Guisewite" | |
} | |
] | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment