let query = db.collectionGroup('volumes')
query = query.where('days', 'array-contains', day)
query = query.where('start_time', '<', time)
query = query.where('end_time', '>', time)
snapshot = await query.get().catch(e => console.log(e))
snapshot.forEach(doc => {
console.log(doc.data())
})
returns:
code: 2, details: '', metadata: Metadata { internalRepr: Map { 'content-type' => [Array] }, options: {} }
If I use only one "where" clauses its works just fine.
For me its not working... Firestore: Multiple conditional where clauses