this.collection()
.doc<MyModel>(documentId)
.set(data);
I want to create a document with custom document ID, so cannot use add() on the collection, but set() on the document works. The problem is set() overwrites if the document exists. I want to prevent that behavior, create the document if and only if the ID already doesn't exist.