Drivers
2 results found
-
Kotlin Driver - Allow querying nested properties via data classes
In the Kotlin driver extensions, we can use data class KProperties to create Filters. For example given these models as data classes:
data class Movie(val movieName: String, releaseDate: LocalDate, rating: String)
data class MovieReview(val movie: Movie, val rating: Double, val review: String, val reviewerName: String)
If I wanted to query a movie review by its rating I could simply write:
MovieReview::rating gte .8
but if I wanted to query a MovieReview by the movie name I cannot currently do:
MovieReview::movie.movieName eq "Mobile Suit Gundam: Char's Counterattack"
I believe KMongo has the ability to do this by overloading the
/
operator…1 vote -
official Dart driver
We use mongo in weebi Dart / Flutter application.
We would be eternally grateful if you could implement an official Dart Driver,
There is already an unofficial mongo dart repo :
https://github.com/mongo-dart
The specific feature we need is Ejson
https://github.com/mongo-dart/bson/issues/29Thank you for building a great tool
113 votesThe specific feature requested (EJSON support) was added to the the community maintained Dart BSON library in 2023, and the mongo_dart driver continues to see community investment.
We will continue to monitor how this community driver progresses and contribute help where we can, but for now we are not planning an official driver.
- Don't see your idea?