Created
July 11, 2014 23:17
-
-
Save rakyll/9d6d8b7aa7a3b05b7eba to your computer and use it in GitHub Desktop.
HAS_ANCESTOR queries
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
{ | |
"projection": [], | |
"kinds": [{ | |
"name": "Company" | |
}], | |
"filter": { | |
"compositeFilter": { | |
"filters": [{ | |
"propertyFilter": { | |
"property": { | |
"name": "__key__" | |
}, | |
"operator": "HAS_ANCESTOR", | |
"value": { | |
"properties": { | |
"keyValue": { | |
"path": [{ | |
"kind": "Name", | |
"id": 123 | |
}], | |
"partitionId": { | |
"namespace": "Namespace" | |
} | |
} | |
} | |
} | |
} | |
}], | |
"operator": "AND" | |
} | |
}, | |
"order": [], | |
"groupBy": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment