Transforms Array[Byte]
to BsonBinary
Transforms Array[Byte]
to BsonBinary
Transforms Boolean
to BsonBoolean
Transforms Boolean
to BsonBoolean
Noop transformer for BsonValue
s
Noop transformer for BsonValue
s
Transforms Date
to BsonDateTime
Transforms Date
to BsonDateTime
Transforms Double
to BsonDouble
Transforms Double
to BsonDouble
Transforms immutable.Document
to BsonDocument
Transforms immutable.Document
to BsonDocument
Transforms Int
to BsonInt32
Transforms Int
to BsonInt32
Transforms Long
to BsonInt64
Transforms Long
to BsonInt64
Transforms mutable.Document
to BsonDocument
Transforms mutable.Document
to BsonDocument
Transforms None
to BsonNull
Transforms None
to BsonNull
Transforms ObjectId
to BsonObjectId
Transforms ObjectId
to BsonObjectId
Transforms Regex
to BsonRegex
Transforms Regex
to BsonRegex
Transforms String
to BsonString
Transforms String
to BsonString
Transforms Seq[(String, T)]
to BsonDocument
Transforms Seq[(String, T)]
to BsonDocument
the type of the values
implicit transformer for type T
a BsonDocument containing the values
Transforms Option[T]
to BsonValue
Transforms Option[T]
to BsonValue
Transforms Seq[T]
to BsonArray
Transforms Seq[T]
to BsonArray
the type of the values
implicit transformer for type T
a BsonArray containing all the values
Maps the following native scala types to BsonValues:
BsonValue => BsonValue
Boolean => BsonBoolean
String => BsonString
Array[Byte] => BsonBinary
Regex => BsonRegex
Date => BsonDateTime
ObjectId => BsonObjectId
Int => BsonInt32
Long => BsonInt64
Double => BsonDouble
None => BsonNull
immutable.Document => BsonDocument
mutable.Document => BsonDocument
Option[T] => BsonValue
whereT
is one of the above typesSeq[(String, T)] => BsonDocument
whereT
is one of the above typesSeq[T] => BsonArray
whereT
is one of the above types