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: groupBy filtering fails · Issue #25 · googleapis/google-cloud-node

datastore: groupBy filtering fails #25

New issue
Copy link
New issue
Copy link
Closed
Closed
datastore: groupBy filtering fails#25
Copy link
Assignees
rakyll
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
Datastore Stable

Description

@rakyll
rakyll
opened on Jul 21, 2014
Issue body actions
/Users/jbd/gcloud-node/lib/datastore/entity.js:291
  query.groupBy = q.groupByVal.map(function(g) {
                               ^
TypeError: Object name has no method 'map'
    at Object.queryToQueryProto (/Users/jbd/gcloud-node/lib/datastore/entity.js:291:32)
    at Transaction.runQuery (/Users/jbd/gcloud-node/lib/datastore/index.js:263:19)
    at Dataset.runQuery (/Users/jbd/gcloud-node/lib/datastore/index.js:390:20)
    at Object.<anonymous> (/Users/jbd/gcloud-node/test.js:46:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)

Activity

Next
  1. rakyll
    added
    0.3.x
    on Jul 21, 2014
  2. rakyll commented on Jul 21, 2014

    @rakyll
    rakyll
    on Jul 21, 2014
    ContributorAuthor
    More actions

    It's caused by passing a field name to groupBy, rather than a list of field names.

    q.groupBy('name')

    groupyBy now arrayizes the first argument. Fixed on bb7a70a.

  3. rakyll
    closed this as completedon Jul 21, 2014
  4. jgeewax
    added
    api: datastoreIssues related to the Datastore API.
    on Feb 2, 2015
  5. jgeewax
    modified the milestones: This milestone has been deleted, Datastore Stable on Feb 2, 2015
  6. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 6, 2020
  7. JustinBeckwith
    assigned
    rakyll
    on Feb 1, 2021
  8. sofisl
    added 2 commits that reference this issue on Sep 15, 2022

    chore(deps): lock file maintenance (#25)

    b7737cb

    chore: the ultimate fix for repo-tools EPERM (#25)

    112f456
  9. sofisl
    added a commit that references this issue on Sep 27, 2022

    Upgrade repo-tools and regenerate scaffolding. (#25)

    ca004d3
  10. 83 remaining items

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

    Ensure compilation occurs before sys/samples tests (#25)

    7c3e60d
  12. sofisl
    added a commit that references this issue on Feb 17, 2026

    1.3.2 (#25)

    ffb1e70
  13. GautamSharda
    added a commit that references this issue on Feb 23, 2026

    Ensure compilation occurs before sys/samples tests (#25)

    5c26ee8
  14. sofisl
    added a commit that references this issue on Feb 24, 2026

    Bumping version to 0.8.1 (#25)

    db6fe8c
  15. GautamSharda
    added 2 commits that reference this issue on Feb 25, 2026

    build: update linkinator config (#25)

    024f5a4

    Ensure compilation occurs before sys/samples tests (#25)

    7f92584
  16. sofisl
    added a commit that references this issue on Mar 5, 2026

    Merge pull request #25 from googleapis/spp--24

    9e3f06e
  17. codyoss
    added 2 commits that reference this issue on Mar 9, 2026

    Don't publish sourcemaps (#25)

    03e0041

    Don't publish sourcemaps (#25)

    7d8b1a7
  18. GautamSharda
    added a commit that references this issue on Mar 11, 2026

    Update google-auto-auth to the latest version 🚀 (#25)

    28691fa
  19. codyoss
    added a commit that references this issue on Mar 12, 2026

    build!: upgrade engines field to >=8.10.0 (#25)

    5bf2213
  20. GautamSharda
    added a commit that references this issue on Mar 12, 2026

    Support Stream constructor options in pagination methods. (#25)

    a9ba5ae
  21. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    Pass options object to convertFromBytes. (#25)

    fae6977

    Pass options object to convertFromBytes. (#25)

    9899324
  22. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    Pass options object to convertFromBytes. (#25)

    ae2fe6b
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: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

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.