In Firestore, I have a collection containing documents identified by timestamp: /records/timestamp
I would like to filter documents based on the id, using the javascript client API.
How can I write the query?
I am looking for something along the following line, but I cannot find the proper field name for id:
const query = firestore.collection(`/records`).where("id", "<", 1600766222);