Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson • at
at¶
Finds the first value that matches path in a given BSON document.
Example¶
will return the value of the field foo.bar.
Depending on your situation, you can also use the equivalent function selectFirst:
See also¶
Throws¶
NoSuchElementException-
If no element is found matching the path.