Skip to content

ComplexConstraint

abstract class ComplexConstraint<in T>(factory: BsonFactory) : Schema.Constraint<T> 

Helper to create instances of Constraint that handle multiple constraints.

Inheritors

Constructors

ComplexConstraint

constructor(factory: BsonFactory)

Functions

toString

override fun toString(): String

JSON representation of this constraint object.

writeTo

@LowLevelApi
abstract fun writeTo(writer: BsonFieldWriter)

Writes this object to the provided writer.