ditto-lib / live.ditto / DittoWriteTransaction / insert

insert

fun insert(collectionName: String, vararg documents: Map<String, Any>): Unit

Inserts one or more documents.

Parameters

collectionName - the name of the collection that the documents should be inserted into.

documents - the documents to insert.