Helper for any primitive scala types *
This is somewhat specific for boolean as we allow here the numeric and string to be implicitly converted to Boolean.
Date is passed as is.
Date is passed as is. Additionally we try to recover date from long and double *
DBObject is passed as-is *
BSONValue iterable
Anther variant of BSONValue iterable *
Map of BSONValues *
Another variant of Map of BSONValues *
Optional fields are only added to bson when they evaluate to Some
.
Optional fields are only added to bson when they evaluate to Some
. This is placeholder for None *
Numeric type conversion *
Object Id is passed as-is *
Optional fields are only added to bson when they evaluate to Some
.
Optional fields are only added to bson when they evaluate to Some
. This is extractor for Some *
String conversion *