Packages

o

org.mongodb.scala.bson

BsonDocument

object BsonDocument

Companion helper for a BsonDocument

Since

1.0

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

Value Members

  1. def apply(json: String): BsonDocument

    Creates a BsonDocument from a json String

    Creates a BsonDocument from a json String

    json

    the json string

    returns

    the BsonDocumet

  2. def apply(elems: CanBeBsonElement*): BsonDocument

    Creates a BsonDocument from key value pairs

    Creates a BsonDocument from key value pairs

    elems

    the key, value pairs

    returns

    the BsonDocument

  3. def apply(elems: Traversable[(String, BsonValue)]): BsonDocument

    Creates a BsonDocument from the key value pairs

    Creates a BsonDocument from the key value pairs

    elems

    a traversable of key, value pairs

    returns

    the BsonDocument

  4. def apply(): BsonDocument

    Creates an empty BsonDocument

    Creates an empty BsonDocument

    returns

    the BsonDocument