Mongo.BulkOps.get_insert_one

You're seeing just the function get_insert_one, go back to Mongo.BulkOps module for more information.

Specs

get_insert_one(BSON.document()) :: bulk_op()

Returns an insert_one operation tupel for appending to a bulk. Used to perform stream bulk writes.

Example

Mongo.BulkOps.get_insert_one(%{name: "Waldo"})

{:insert, %{name: "Waldo"}}