We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4c2b18 commit db2cc44Copy full SHA for db2cc44
datastore/cloud-client/snippets.py
@@ -331,6 +331,8 @@ def ancestor_query(client):
331
client.put(task)
332
333
# [START datastore_ancestor_query]
334
+ # Query filters are omitted in this example as any ancestor queries with a
335
+ # non-key filter require a composite index.
336
ancestor = client.key('TaskList', 'default')
337
query = client.query(kind='Task', ancestor=ancestor)
338
# [END datastore_ancestor_query]
0 commit comments