I want to get documents from a collection after a specific date time.
Example:
if the date = 30/11/2020, 12:30AM (in javascript)
- The query should return documents created after the above date.
- The query should not return documents created before the above date.
You can see my current code:
await db
.collection(`users/${user}/messages`)
.orderBy("cDate", "desc") /* {cDate: firestore.Timestamp.fromDate(new Date())}*/
.limit(100)
.get();
Any help