NoneHandling

io.github.mbannour.mongo.codecs.NoneHandling

Strategy for handling None values in Option fields during BSON encoding.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Encode extends NoneHandling

Encode None as BSON null.

Encode None as BSON null.

Attributes

case Ignore extends NoneHandling

Omit fields with None values from the BSON document.

Omit fields with None values from the BSON document.

Attributes