Package-level declarations

Operators, classified by the context in which they are available in.

Classes of this package are not expected to be instantiated by the user. Instead, it is expected by the driver will provide an instance of these classes in its own DSL, such that the user doesn't have to think about which class they should use.

However, the user should still be aware of these classes, as they are the place where operators are documented.

Types

Link copied to clipboard

DSL for MongoDB operators that are used as predicates in conditions.

Link copied to clipboard

DSL for MongoDB operators that are used as predicates in conditions in a context where the targeted field is already specified.

Link copied to clipboard

DSL for MongoDB operators that are used to update existing values (does not include aggregation operators).

Link copied to clipboard

Interface describing the DSL when declaring an update with a pipeline.

Link copied to clipboard
interface UpsertQuery<T> : UpdateQuery<T>

DSL for MongoDB operators that are used to update existing values, creating new documents if none exist (does not include aggregation operators).

Functions

Link copied to clipboard
fun <T> FilterQuery(context: <Error class: unknown class>): FilterQuery<T>

Creates an empty FilterQuery.

Link copied to clipboard
fun <T> FilterQueryPredicate(context: <Error class: unknown class>): FilterQueryPredicate<T>

Creates an empty FilterQueryPredicate.

Link copied to clipboard
fun <T> UpdateQuery(context: <Error class: unknown class>): UpdateQuery<T>

Creates an empty UpdateQuery.

Link copied to clipboard
fun <T : Any> UpdateWithPipelineQuery(context: <Error class: unknown class>): UpdateWithPipelineQuery<T>

Creates an empty UpdateWithPipelineQuery.

Link copied to clipboard
fun <T> UpsertQuery(context: <Error class: unknown class>): UpsertQuery<T>

Creates an empty UpsertQuery.