When adding in type support as mixable traits, extend from this trait to streamline some of the complexity around chaining multiple TypeSupport traits.
Adds support for storing InetAddress
, BigDecimal
and BigInt
members of an
com.gilt.opm.OpmObject to MongoDB.
Adds support for storing InetAddress
, BigDecimal
and BigInt
members of an
com.gilt.opm.OpmObject to MongoDB. You can mix in this trait on its own or alongside any other support
traits.
Adds support for storing scala Enumeration
s to MongoDB.
Adds support for storing scala Enumeration
s to MongoDB. You can mix in this trait on its own or
alongside any other support traits.
Adds support for storing Guid
and Timestamp
members of an
OpmObject
to MongoDB.
Adds support for storing Guid
and Timestamp
members of an
OpmObject
to MongoDB. You can mix in this trait on its own or alongside any other support
traits.
When adding in type support as mixable traits, extend from this trait to streamline some of the complexity around chaining multiple TypeSupport traits.
See OpmMongoBasicTypeSupport for the best way to implement this. Generally, you will likely define a PartialFunction, followed by 'orElse super.toMongoMapper' or 'orElse super.fromMongoMapper'. Due to strong typing, you will likely need to define the PartialFunction in a local val.