implicit object BSONNumberLikeWriter extends VariantBSONWriter[BSONNumberLike, BSONValue]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONNumberLikeWriter
  2. VariantBSONWriter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def write(number: BSONNumberLike): BSONValue

    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
    BSONNumberLikeWriterVariantBSONWriter
  2. def writeOpt(t: BSONNumberLike): Option[BSONValue]

    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: BSONNumberLike): Try[BSONValue]

    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