at
Finds the first value that matches path in a given BSON document.
Example
val document: Bson = …
val bar: String = document at (User::profile / Profile::name)Content copied to clipboard
will return the value of the field profile.name.
See also
Throws
If no element is found matching the path.