-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
I'm using google datastore to get data of a user:
This is what i'm trying to do:
- When data is updated, its
updated_at [indexed]property gets set to current timestamp. - I query data on
updated_atin ascending order and store cursor returned for later use. - Now user has updated the last entity (which cursor points currently) and no other data is added or updated.
- Now i'm expecting that last entity to be returned in next query (using that old cursor) because it was updated and now has a new
updated_attimestamp. - But that is not the case, i do not see that (my result is empty list) And now i have lost that update completely because query will return all the other object except that last entity that was updated.
- I'm is doing something wrong or this is the way it is?
- If this is natural behaviour then what is preferred way to get that last entity that was updated?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.