Skip to content

I don't understand how to use query.groupBy  #1426

@CVarisco

Description

@CVarisco

Hi,

I've used query.groupBy as per example on a simple get operation (list all entities of a kind grouped by property):
groupBy(['prop']);

With one arguments I have the complete list of kind without any grouping applied.
With two arguments I have this response:

{
  "code": 412,
  "metadata": {
    "_internal_repr": {}
  }
}

Can you please help me understand how am I supposed to use the groupBy API?

Metadata

Metadata

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