Represents a single BsonElement
Represents a single BsonElement
This is essentially a (String, BsonValue)
key value pair. Any pair of (String, T)
where type T
has a BsonTransformer in
scope into a BsonValue is also a valid pair.
Represents a sequence of BsonElements
Represents a sequence of BsonElements
This is essentially a Iterable[(String, BsonValue)]
of key value pairs. Any pair of (String, T)
where type T
has a
BsonTransformer in scope into a BsonValue is also a valid pair.
Represents any single BsonValue
Represents any single BsonValue
This is a BsonValue
or any type of T
that has a BsonTransformer in scope for the given type.
Implicitly converts any iterable of key/value pairs into a CanBeBsonElements.
Implicitly converts any iterable of key/value pairs into a CanBeBsonElements.
the type of the values
the iterable of key/value pairs
the implicit transformer for the values
CanBeBsonElements representing the key/value pairs
Implicitly converts type T
to a BsonValue as long as there is a BsonTransformer in scope for the given type.
Implicitly converts type T
to a BsonValue as long as there is a BsonTransformer in scope for the given type.
the type of the initial value
the initial value
implicitly provided BsonTransformer that needs to be in scope for type T
to be transformed into a BsonValue
A CanBeBsonValue that holds the transformed BsonValue
Implicitly converts key/value tuple of type (String, T) into a CanBeBsonElement
Implicitly converts key/value tuple of type (String, T) into a CanBeBsonElement
the type of the value
the key value pair
the implicit BsonTransformer for the value
a CanBeBsonElement representing the key/value pair
A magnet pattern implementation enforcing the validity of user provided native values being able to be converted into BsonValues.
1.0