containsAll
Selects documents where the value of a field is an array that contains all the specified values.
Example
class User(
val grades: List<Int>
)
collection.find {
User::grades containsAll listOf(2, 3, 7)
}
Content copied to clipboard