Skip to content

opensavvy.ktmongo.dsl

Types

DangerousMongoApi

@RequiresOptIn(message = "This is a declaration from the low-level API which is used internally. We recommend against using it when possible, because it has less safety features and can easily create situations in which injections are possible. Behavior may also change between versions without warnings.", level = RequiresOptIn.Level.ERROR)
annotation class DangerousMongoApi

Annotation to mark parts of the library that are known to be easy to misuse.

LowLevelApi

@RequiresOptIn(message = "This is a declaration from the low-level API which is used internally. It is not recommended for regular users to interact with the low-level API.", level = RequiresOptIn.Level.WARNING)
annotation class LowLevelApi

Annotation that marks parts of the library that are not meant to be used by end-users.