Changestream
Firestore does not support any actual CDC (Change Data Capture). A changestream similar to other NoSQL implementations (Mongo, DocumentDB, Azure Cosmos DB) would make the database a lot more usable and grant feature parity with other popular NoSQL databases. This changestream would expose operations like updates, inserts, and deletes for a client to come and retrieve from either a timestamp or a resume token.
8
votes
Stefen Hillman
shared this idea
-
Cedric Vanden Bosch commented
You have onSnapshot. To have a history of changes (delete, update, creates) I just use a trigger.