MongoDB request DSL • opensavvy.ktmongo.dsl • BsonContext
BsonContext¶
interface BsonContext : ERROR CLASS: Symbol not found for BsonFactory, ERROR CLASS: Symbol not found for ObjectIdGenerator, PropertyNameStrategy
BSON configuration for the objects generated by the DSL.
This object is passed through the entire DSL to allow accessing the configuration from anywhere during request generation.
Functions¶
pathOf¶
abstract fun pathOf(property: KProperty1<*, *>): Path
Generates the name of a property.