Skip to content

Does transaction.get guarantees the same order as the keys? #234

Closed

Description

@tmatsuo

https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/datastore/concepts.js#L1048

I don't think transaction.get guarantees that the order of the result is the same as the given keys. Please close if it does, but please fix this otherwise.

Activity

  1. jmdobry commented on Nov 7, 2016

    @jmdobry
    Member

    As far as I can tell, the order of the entities in the response is undefined and has no relation to the order of the keys in the input. I'll have to fix the sample.

    See: https://cloud.google.com/datastore/docs/reference/rpc/google.datastore.v1beta3#google.datastore.v1beta3.LookupResponse

  2. added 8 commits that reference this issue on Nov 7, 2016
    48b80c5
    d914137
    ce8b714
    63fd52c
    6b7cb36
    33bfdd7
    dbb186a
    ed81bc1
  3. added a commit that references this issue on Nov 21, 2016
    1b3dd3f
  4. 1 remaining item

  5. added 2 commits that reference this issue on Nov 10, 2022
    3cdf0c9
    5036529
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions