Returns a BSON writer that returns the result of applying f
on the BSON value from this writer.
Returns a BSON writer that returns the result of applying f
on the BSON value from this writer.
the function to apply
Tries to produce a BSON value from an instance of T
, returns None
if an error occurred.
Tries to produce a BSON value from an instance of T
.
(bSONWriter: StringAdd).self
(bSONWriter: StringFormat).self
(bSONWriter: ArrowAssoc[BSONWriter[T, B]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(bSONWriter: Ensuring[BSONWriter[T, B]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A writer that produces a subtype of BSONValue from an instance of
T
.