Closed
Description
I have items stored in firebase with a 'createdAt' property which is the server TIMESTAMP. The TIMESTAMP value is being set correctly, but when querying using orderByChild('createdAt') the order is not correct.
I have verified that the same query run with the firebase javascript API works as expected:
firestack.database.ref('images').orderByChild('createdAt').once('value', (snapshot)=>{ // snapshot not ordered by correctly });
Firebase javascript API:
firebaseApp.database().ref('images').orderByChild('createdAt').once('value', (snapshot)=>{ // snapshot ordered correctly });
I have an index set in my firebase rules but can't seem to get Firestack to use the orderByChild query
Metadata
Metadata
Assignees
Labels
No labels