Packages

o

org.mongodb.scala.model

InsertOneModel

object InsertOneModel

A model describing an insert of a single document.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InsertOneModel
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[TResult](document: TResult): InsertOneModel[TResult]

    Construct a new instance.

    Construct a new instance.

    TResult

    the type of document to insert. This can be of any type for which a Codec is registered

    document

    the document to insert

    returns

    the new InsertOneModel