Field wrapper
Wrapper for a nested field
Returns an optional lens for a field with the given name
.
Returns an optional lens for a field with the given name
.
the field type
import reactivemongo.api.bson.monocle._ val lens = field[String]("bar")
Returns an optional lens for a field f
,
nested in a document field.
Returns an optional lens for a field f
,
nested in a document field.
import reactivemongo.api.bson.monocle._ // For a top document { "foo": { "bar": 1 } } val lens = nested("foo", field[Int]("bar"))
Monocle utilities for BSON values.