Repository navigation
datastore.query.filter should support has_ancestor operator #12
Copy link
Copy link
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.triage meI really want to be triaged.I really want to be triaged.
Milestone
Description
Activity
Is it OK to have a separate
hasAncestormethod, rather than providing it as a filter operation.q = ds.createQuery(...).hasAncestor(key);
Yes, python (ndb) does it with a separate kwarg:
https://developers.google.com/appengine/docs/python/ndb/queries#ancestor7c5125a fixes this issue.
- addedapi: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
on Feb 2, 2015 - addedtriage meI really want to be triaged.I really want to be triaged.🚨This issue needs some love.This issue needs some love.
on Apr 7, 2020 - added a commit that references this issue
on Aug 22, 2022 69 remaining items
- added a commit that references this issue
on Feb 5, 2026 - added 3 commits that reference this issue
on Feb 23, 2026 - added a commit that references this issue
on Mar 5, 2026 - added 2 commits that reference this issue
on Mar 5, 2026 - added 2 commits that reference this issue
on Mar 12, 2026 - added a commit that references this issue
on Mar 17, 2026
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.triage meI really want to be triaged.I really want to be triaged.
currently it seems that
datastore.query.filteronly support regular comparaison operator:It should support
HAS_ANCESTORoperator:https://developers.google.com/datastore/docs/concepts/queries#Datastore_Ancestor_queries