0.12.0 • Array handling aggregation operators and more¶
users.aggregate()
.project {
include(User::name)
User::bestPassingGrades set User::grades
.filter { it gt of(50) }
.map { it / Grade::value }
.sortedDescending()
.take(3)
}
DSL¶
- Added the
$filteraggregation operator (59740316, !46) - Added the
$mapaggregation operator (5c903096, !46) - Added the
$firstNand$lastNaggregation operators (721b1b07, 721b1b07, !46) - Added the
$sortArrayaggregation operator (f736c402, a607fcce, !46) - Added the
$getFieldaggregation operator (28946504, !46) - Added the
$ceilaggregation operator (7481c6ab, !42) - Added the
$flooraggregation operator (d04f4b7f, !42) - Added the
$countaggregation stage (f14132bd, !45) - Fixed incorrect type parameters for
$degreesToRadiansand$radiansToDegrees(fb01397c, !43)
Documentation¶
- Renamed the DSL module from 'Query DSL' to 'Request DSL' (859f3737, !42)
- Added an example to
SortOptionDsl(91c044ac, !43)
Dependencies¶
- KotlinX.Coroutines 1.10.1
- KotlinX.Serialization 1.8.0
- MongoDB Kotlin driver 5.3.1
- BSON JS 6.10.3
Browse the documentation for this version • View release in GitLab