this allows anything that has an EncodeBson to also be encoded as a bson field.
this allows anything that has an EncodeBson to also be encoded as a bson field.
constructs a new EncodeBsonField by implementing writeTo
using the given function.
constructs a new EncodeBsonField by implementing writeTo
using the given function.
the type to encode as a field
a function that implements EncodeBsonField#writeTo
an EncodeBsonField[A]
if something is directWritable, the mongo java driver supports it as a directly inserted field.
if something is directWritable, the mongo java driver supports it as a directly inserted field.