GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — datastore.query.filter should support has_ancestor operator · Issue #12 · googleapis/google-cloud-node

datastore.query.filter should support has_ancestor operator #12

New issue
Copy link
New issue
Copy link
Closed
Closed
datastore.query.filter should support has_ancestor operator#12
Copy link
Assignees
rakyll
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.
Milestone
Datastore Stable

Description

@proppy
proppy
opened on Jul 9, 2014
Issue body actions

currently it seems that datastore.query.filter only support regular comparaison operator:

  var fieldName = filter.replace(/[>|<|=|>=|<=]*$/, '').trim(),
      op = filter.substr(fieldName.length, filter.length).trim();

It should support HAS_ANCESTOR operator:
https://developers.google.com/datastore/docs/concepts/queries#Datastore_Ancestor_queries

Activity

Next
  1. rakyll commented on Jul 9, 2014

    @rakyll
    rakyll
    on Jul 9, 2014
    Contributor
    More actions

    Is it OK to have a separate hasAncestor method, rather than providing it as a filter operation.

    q = ds.createQuery(...).hasAncestor(key);
  2. proppy commented on Jul 10, 2014

    @proppy
    proppy
    on Jul 10, 2014
    ContributorAuthor
    More actions

    Yes, python (ndb) does it with a separate kwarg:
    https://developers.google.com/appengine/docs/python/ndb/queries#ancestor

  3. rakyll commented on Jul 11, 2014

    @rakyll
    rakyll
    on Jul 11, 2014
    Contributor
    More actions

    7c5125a fixes this issue.

  4. rakyll
    closed this as completedon Jul 11, 2014
  5. jgeewax
    added
    api: datastoreIssues related to the Datastore API.
    on Feb 2, 2015
  6. jgeewax
    modified the milestones: This milestone has been deleted, Datastore Stable on Feb 2, 2015
  7. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 7, 2020
  8. JustinBeckwith
    assigned
    rakyll
    on Feb 1, 2021
  9. chingor13
    added a commit that references this issue on Aug 22, 2022

    Update dependency google-gax to ^0.20.0 (#12)

    e4d9efd
  10. sofisl
    added 2 commits that reference this issue on Sep 15, 2022

    chore(deps): update dependency eslint to v5 (#12)

    115e066

    Merge pull request #12 from googleapis/greenkeeper/google-gax-0.16.0

    046f93d
  11. 69 remaining items

  12. GautamSharda
    added a commit that references this issue on Feb 5, 2026

    chore: switch to console-log-level for logging (#176)

    This issue will close once commit b7a4b45 is merged into the 'main' branch.
    b7a4b45
  13. GautamSharda
    added 3 commits that reference this issue on Feb 23, 2026

    chore: switch to console-log-level for logging (#176)

    This issue will close once commit 62431b7 is merged into the 'main' branch.
    62431b7

    build: add publish.yml enabling GitHub app for publishes (#12)

    This issue will close once commit 2bb0251 is merged into the 'main' branch.
    2bb0251

    chore: switch to console-log-level for logging (#176)

    This issue will close once commit 81cdfd6 is merged into the 'main' branch.
    81cdfd6
  14. sofisl
    added a commit that references this issue on Feb 26, 2026

    use retry info (#12)

    6c7dc15
  15. codyoss
    added a commit that references this issue on Mar 5, 2026

    chore: ignore package-lock.json (#12)

    2a89b5d
  16. GautamSharda
    added a commit that references this issue on Mar 5, 2026

    Fix docs. (#12)

    4277b1f
  17. sofisl
    added 2 commits that reference this issue on Mar 5, 2026

    chore: Jsdoc fresh migration (#48)

    6d29935

    Jsdoc region tag migration (#52)

    ebebe7a
  18. codyoss
    added 3 commits that reference this issue on Mar 9, 2026

    chore(deps): update dependency nyc to v13 (#12)

    be1a438

    chore(deps): update dependency nyc to v13 (#12)

    3ef46ea

    build: update type for sinon (#12)

    6a4a62e
  19. GautamSharda
    added 2 commits that reference this issue on Mar 12, 2026

    chore(deps): update dependency nyc to v13 (#12)

    e1d9fbc

    chore(deps): update dependency nyc to v13 (#12)

    d6e7938
  20. sofisl
    added a commit that references this issue on Mar 17, 2026

    fix: don't retry server streaming calls if retryCodes is the empty ar…

    aaabcf5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rakyll
    rakyll

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    • Datastore Stable

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.