object IterableCodecProvider extends Serializable
IterableCodecProvider companion object
- Since
1.2
- Alphabetic
- By Inheritance
- IterableCodecProvider
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(valueTransformer: Transformer): IterableCodecProvider
Create a
IterableCodecProvider
with the defaultBsonTypeClassMap
and the givenTransformer
.Create a
IterableCodecProvider
with the defaultBsonTypeClassMap
and the givenTransformer
.- valueTransformer
the value transformer for decoded values
- returns
the new instance
-
def
apply(bsonTypeClassMap: BsonTypeClassMap): IterableCodecProvider
Create a
IterableCodecProvider
with the givenBsonTypeClassMap
and the defaultTransformer
.Create a
IterableCodecProvider
with the givenBsonTypeClassMap
and the defaultTransformer
.- bsonTypeClassMap
the bson type class map
- returns
the new instance
-
def
apply(): IterableCodecProvider
Create a
IterableCodecProvider
with the defaultBsonTypeClassMap
andTransformer
.Create a
IterableCodecProvider
with the defaultBsonTypeClassMap
andTransformer
.- returns
the new instance
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: