In my database I have all the documents saved on the day 23 of this month as the image below shows
Even if i pass the start date in day 20 it will return empty value.
Here is my query snippet:
const documents = await admin.firestore()
.collection('orders')
.orderBy('payment_type')
.startAt('2020-06-22')
.endAt('2020-06-23')
.get()
I'm new to firebase, so I don't know where i'm missing and the docs were not much of help. Also, i'm using cloud functions if the information helps.
