opensavvy.ktmongo.sync¶
Types¶
JavaField¶
Type-safe representation of a dotted MongoDB field path from Java method references.
KtMongo¶
object KtMongo
Entry-point to convert objects from the official drivers to the KtMongo library.
Functions¶
filter¶
fun <T> filter(block: Consumer<FilterQuery<T>>): (FilterQuery<T>) -> Unit
Helper for Java users of the find/filter methods.
options¶
Helper for Java users to specify the default options for a request.
Helper for Java users to specify options for a given request.
sort¶
fun <T : Any> sort(block: Consumer<SortOptionDsl<T>>): (SortOptionDsl<T>) -> Unit
Helper for Java users to specify the sort order within the WithSort.sort option.