ditto-lib / live.ditto / DittoWriteTransaction / removeByID

removeByID

fun removeByID(collectionName: String, id: String): Unit

Removes a document using its ID.

Parameters

collectionName - the name of the collection that the document is in.

id - the ID of the document to remove.