I have a kind client that consists of entities with a property psets containing a list of Key
Using the JSON api psets this would expressed as :
psets = { listValue: [ {keyValue: { path: [...]} },{keyValue: { path: [...]} },... ]}
The KeyValues are made of path = [{ kind: 'project', name: 'projectn' }]
I am trying to run an 'ancestor' query on 'client' using
SELECT * from client where psets HAS ANCESTOR KEY( project, 'project1')
This query returns an error: unsupported property
What is unsupported ?
How can I run an 'HAS ANCESTOR' filter on a list of Keys ?
Please note that according the the DataStore Documentation (Operators and comparisons)
A condition can also test whether one entity has another entity as an ancestor, using the HAS ANCESTOR or HAS DESCENDANT operators. These operators test ancestor relationships between keys. They can operate on __key__, but they can also operate on a key-valued property. For HAS ANCESTOR, the right operand cannot be a property
(emphasis mine)