I am writing something to insert documents in to a collection in Firestore. As documents where inserted I noticed that a duplicate document id didn’t fail, but updated the record.
I referenced, https://docs.retool.com/docs/firebase-integration, and noticed that at one time Retool had a
set option, which isn’t there any longer, so I wondered if the
insert document is actually using a set against Firebase. If a set is being used, to confirm, the
merge option is set to false (default).
I know it may sound strange, but I was hoping that the insert action actually did an insert against the collection as it would alert us of a duplicate document id.