isMapNotEmpty
Matches documents in which a map is not empty.
Example
Return all users that have one or more grades.
class User(
val name: String?,
val grades: Map<String, Int>
)
collection.find {
User::grades.isMapNotEmpty()
}
Content copied to clipboard