Skip to content

Datastore Query toString function should return a description of the query #1060

Description

@krisnye

It should output a description of the ancestors, filters, order, select, limit, offset and any other relevant properties.

Activity

  1. callmehiphop commented on Jan 15, 2016

    @callmehiphop
    Contributor

    Would JSON.stringify suffice? Queries are just plain old JavaScript objects.

  2. callmehiphop commented on Jan 21, 2016

    @callmehiphop
    Contributor

    @krisnye just checking in!

    Does JSON.stringify work for you? If not do you have a specific use case in mind?

  3. krisnye commented on Jan 21, 2016

    @krisnye
    Author

    JSON.stringify would work. Was not sure that it was just a plain object. It's dangerous calling JSON. stringify on objects you're not sure about.

  4. stephenplusplus commented on Jan 29, 2016

    @stephenplusplus
    Contributor

    It should be safe, but let us know if you run into problems.

  5. added a commit that references this issue on Jul 23, 2025
  6. added a commit that references this issue on Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions