Package-level declarations

Types

Link copied to clipboard

To configure the default collection name strategy - default is camel case. To be used before KMongo initialization.

Link copied to clipboard

Builds the MongoClientSettings used by KMongo DSL clients (sync & coroutine).

Link copied to clipboard
object KMongoUtil

Internal utility methods

Link copied to clipboard
Link copied to clipboard

Default object mapping configuration options. Set values before KMongo initialization.

Link copied to clipboard
class PairProjection<F1, F2>(val field1: F1?, val field2: F2?)

Pair projection (two fields).

Link copied to clipboard

Provides pattern options copied from mongo PatternCodec.

Link copied to clipboard
class SingleProjection<F>(val field: F?)

Single projection (one field only).

Link copied to clipboard
class TripleProjection<F1, F2, F3>(val field1: F1?, val field2: F2?, val field3: F3?)

Triple projection (three fields).

Link copied to clipboard

Default update operations configuration.

Functions

Link copied to clipboard
fun pairProjectionCodecRegistry(property1: String, property1Class: KClass<*>, property2: String, property2Class: KClass<*>, baseRegistry: CodecRegistry): CodecRegistry

This method is not part of the public API and may be removed or changed at any time.

Link copied to clipboard
fun singleProjectionCodecRegistry(property: String, propertyClass: KClass<*>, baseRegistry: CodecRegistry): CodecRegistry

This method is not part of the public API and may be removed or changed at any time.

Link copied to clipboard
fun tripleProjectionCodecRegistry(property1: String, property1Class: KClass<*>, property2: String, property2Class: KClass<*>, property3: String, property3Class: KClass<*>, baseRegistry: CodecRegistry): CodecRegistry

This method is not part of the public API and may be removed or changed at any time.