Firebase date range query to fetch documents that have starDate and endDate
问题 I have a collection of tasks on my Firestore database like this: "tasks": { v8NC4GovVOPe21fhwtp0 : { id: "v8NC4GovVOPe21fhwtp0" status: 0 dateFrom: 30 april 2019 at 00:00:00 UTC-3 dateTo: 05 may 2019 at 00:00:00 UTC-3 .... }, v7NC4GaxVOPe48ftstp1 : { id:"v7NC4GaxVOPe48ftstp1" status: 0 dateFrom: 29 april 2019 at 00:00:00 UTC-3 dateTo: 02 may 2019 at 00:00:00 UTC-3 .... } } The document has a dateFrom field, which indicates the first date the user can start working on that task and an dateTo