select
inline fun <T> ERROR CLASS: Symbol not found for Bson.select(field: Field<*, T>): ERROR CLASS: Symbol not found for Sequence<T>(source)
Finds all values that match field in a given Bson.
To learn more about the syntax, see BsonPath.
Example
val document: Bson = …
document.select(User::profile / Profile::name)Content copied to clipboard
will return a sequence of all values matching the path profile.name.
See also
Select a single value.