You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where __name__is not sorted according to the last field in the index, which would be _meta.dateCreated:DESCENDING but sorted ASCENDING for unknown reason.
Why is this? By what rules is this sorting determined? We need to create the indexes programatically and therefore need to know what index is required.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I read in https://firebase.google.com/docs/firestore/query-data/index-overview that
However if I create this query:
firebase gives me a link to create this index

Where
__name__
is not sorted according to the last field in the index, which would be_meta.dateCreated:DESCENDING
but sortedASCENDING
for unknown reason.Why is this? By what rules is this sorting determined? We need to create the indexes programatically and therefore need to know what index is required.
Beta Was this translation helpful? Give feedback.
All reactions