Packages

c

reactivemongo.bson.LowPrioBSONHandlers

BSONArrayCollectionWriter

class BSONArrayCollectionWriter[T, Repr] extends VariantBSONWriter[Repr, BSONArray]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONArrayCollectionWriter
  2. VariantBSONWriter
  3. AnyRef
  4. Any
Implicitly
  1. by valueProducer
  2. by element2Producer
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BSONArrayCollectionWriter()(implicit arg0: (Repr) => Iterable[T], writer: BSONWriter[T, _ <: BSONValue])

Value Members

  1. def write(repr: Repr): BSONArray

    Writes an instance of T as a BSON value.

    Writes an instance of T as a BSON value.

    This method may throw exceptions at runtime. If used outside a reader, one should consider writeTry(bson: B): Try[T] or writeOpt(bson: B): Option[T].

    Definition Classes
    BSONArrayCollectionWriterVariantBSONWriter
  2. def writeOpt(t: Repr): Option[BSONArray]

    Tries to produce a BSON value from an instance of T, returns None if an error occurred.

    Tries to produce a BSON value from an instance of T, returns None if an error occurred.

    Definition Classes
    VariantBSONWriter
  3. def writeTry(t: Repr): Try[BSONArray]

    Tries to produce a BSON value from an instance of T.

    Tries to produce a BSON value from an instance of T.

    Definition Classes
    VariantBSONWriter