package immutable
- Alphabetic
- Public
- All
Type Members
-
case class
Document(underlying: BsonDocument) extends BaseDocument[Document] with TraversableLike[(String, BsonValue), Document] with Product with Serializable
An immutable Document implementation.
An immutable Document implementation.
A strictly typed
Map[String, BsonValue]
like structure that traverses the elements in insertion order. Unlike native scala maps there is no variance in the value type and it always has to be aBsonValue
.- underlying
the underlying BsonDocument which stores the data.
Value Members
-
object
Document extends Serializable
The immutable Document companion object for easy creation.
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: