KtMongo 0.6.0 is out! This release is fairly smal...
# opensavvy
c
KtMongo 0.6.0 is out! This release is fairly small, it is about handling of maps. In particular,
Map<String, V>
, which is often serialized as an object. Added:
Copy code
class User(
    val name: String,
    val grades: Map<String, Int>,
)

collection.find {
    User::grades["physics"] eq 5
}
as well as: •
isMapEmpty
isMapNotEmpty
Read more about these operators in the documentationFull changelog