case class DocumentCodecProvider() extends CodecProvider with Product with Serializable
A CodecProvider for the Document class and all the default Codec implementations on which it depends.
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- DocumentCodecProvider
- Serializable
- Serializable
- Product
- Equals
- CodecProvider
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DocumentCodecProvider()
Value Members
- val IMMUTABLE: Class[collection.immutable.Document]
- val MUTABLE: Class[collection.mutable.Document]
-
def
get[T](clazz: Class[T], registry: CodecRegistry): Codec[T]
- Definition Classes
- DocumentCodecProvider → CodecProvider
- Annotations
- @SuppressWarnings()
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: