Package-level declarations

Types

Link copied to clipboard

Type-safe representation of a dotted MongoDB field path from Java method references.

Link copied to clipboard
object KtMongo

Entry-point to convert objects from the official drivers to the KtMongo library.

Functions

Link copied to clipboard
fun <T> filter(block: Consumer<FilterQuery<T>>): (FilterQuery<T>) -> Unit

Helper for Java users of the find/filter methods.

Link copied to clipboard
fun <O : Options> options(): (O) -> Unit

Helper for Java users to specify the default options for a request.

fun <O : Options> options(block: Consumer<O>): (O) -> Unit

Helper for Java users to specify options for a given request.

Link copied to clipboard
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.