Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-updated_time in the global_sort_key throws exception #68

Open
manojmohangit opened this issue Aug 8, 2019 · 0 comments
Open

-updated_time in the global_sort_key throws exception #68

manojmohangit opened this issue Aug 8, 2019 · 0 comments

Comments

@manojmohangit
Copy link

I was trying to get the contact which has been updated recently.
Why /dev/api/contact?page_size=10&global_sort_key=-updated_time throws exception {"exception message":"com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found. recommended index is:\n- kind: Contact\n properties:\n - name: type\n - name: updated_time\n direction: desc\n\nThe suggested index for this query is:\n \n \n \n <\/datastore-index>\n\n","status":"500"} ? and also what all properties are supported in global_sort_key?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant