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 like queries · Issue #1133 · googleapis/google-cloud-node

Datastore like queries #1133

New issue
Copy link
New issue
Copy link
Closed
Closed
Datastore like queries#1133
Copy link
Assignees
j-5-s
Labels
api: datastoreIssues related to the Datastore API.type: questionRequest for information or clarification. Not an issue.

Description

@j-5-s
j-5-s
opened on Feb 18, 2016
Issue body actions

I realize datastore does not have like queries but is there an example of how to do a filter such as

db.GqlQuery("SELECT * FROM MyModel WHERE prop >= :1 AND prop < :2",
            "abc",
            u"abc" + u"\ufffd")

Can you do this with the current API using the .filter() method?

Activity

Next
  1. stephenplusplus
    added
    type: questionRequest for information or clarification. Not an issue.
    api: datastoreIssues related to the Datastore API.
    on Feb 18, 2016
  2. stephenplusplus commented on Feb 18, 2016

    @stephenplusplus
    stephenplusplus
    on Feb 18, 2016
    Contributor
    More actions

    I believe what would work is:

    var query = dataset.createQuery('MyModel')
      .filter('prop', '>=', 'abc')
      .filter('prop', '<', 'def');
    
    dataset.runQuery(query, function(err, results) {});
  3. j-5-s commented on Feb 18, 2016

    @j-5-s
    j-5-s
    on Feb 18, 2016
    Author
    More actions

    Perfect, thank you!

  4. j-5-s
    closed this as completedon Feb 18, 2016
  5. JustinBeckwith
    assigned
    j-5-s
    on Feb 1, 2021
  6. sofisl
    added 8 commits that reference this issue on Jan 27, 2026

    build(node): don't throw on deprecation in unit tests (#749)

    3d1195e

    build(node): don't throw on deprecation in unit tests (#749)

    f75c83e

    build(node): don't throw on deprecation in unit tests (#749)

    62d1a54

    build(node): don't throw on deprecation in unit tests (#749)

    80c5f99

    build(node): don't throw on deprecation in unit tests (#749)

    54ab562

    build(node): don't throw on deprecation in unit tests (#749)

    10df4da

    build(node): don't throw on deprecation in unit tests (#749)

    e621969

    build(node): don't throw on deprecation in unit tests (#749)

    d1e0719
  7. GautamSharda
    added a commit that references this issue on Feb 2, 2026

    build(node): don't throw on deprecation in unit tests (#611)

    7c617d4
  8. 1 remaining item

  9. sofisl
    added 3 commits that reference this issue on Feb 4, 2026

    migrate code from googleapis/cloud-profiler-nodejs (#7087)

    288deb4

    build(node): don't throw on deprecation in unit tests (#548)

    044163e

    build(node): don't throw on deprecation in unit tests (#846)

    c7a5fad
  10. sofisl
    added a commit that references this issue on Feb 17, 2026

    build(node): don't throw on deprecation in unit tests (#846)

    fd8e2c2
  11. sofisl
    added 2 commits that reference this issue on Feb 25, 2026

    fix(bucket): Only disable resumable uploads for bucket.upload (fixes #…

    This issue will close once commit 73026c4 is merged into the 'main' branch.
    73026c4

    build(node): don't throw on deprecation in unit tests (#1494)

    This issue will close once commit 620d708 is merged into the 'main' branch.
    620d708
  12. GautamSharda
    added a commit that references this issue on Feb 25, 2026

    build(node): don't throw on deprecation in unit tests (#183)

    a73e876
  13. sofisl
    added a commit that references this issue on Feb 26, 2026

    build(node): don't throw on deprecation in unit tests (#1405)

    3be9aea
  14. GautamSharda
    added 5 commits that reference this issue on Mar 5, 2026

    build(node): don't throw on deprecation in unit tests (#1107)

    11b0642

    chore(nodejs): update client ref docs link in metadata (#1133)

    9bec27f

    chore(deps): update google-auth-library for security fix (#1133)

    5211282

    build(node): don't throw on deprecation in unit tests (#1340)

    64f8395

    build(node): don't throw on deprecation in unit tests (#676)

    a5ebe0b
  15. thiyaguk09
    added 2 commits that reference this issue on Mar 18, 2026

    fix(bucket): Only disable resumable uploads for bucket.upload (fixes g…

    This issue will close once commit 7beb07c is merged into the 'main' branch.
    7beb07c

    build(node): don't throw on deprecation in unit tests (googleapis#1494)

    This issue will close once commit 179ce06 is merged into the 'main' branch.
    179ce06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @j-5-s
    j-5-s

Labels

api: datastoreIssues related to the Datastore API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.