MongoCollection.insertOne

InsertOneResult insertOne(T)(T document, InsertOneOptions options = InsertOneOptions.init)

Inserts the provided document(s). If a document is missing an identifier, one is generated automatically by vibe.d.

See Also

Standards