Skip to content

SimpleConstraint

Constructors

SimpleConstraint

constructor(name: String, factory: BsonFactory)

Properties

name

val name: String

The name of this constraint.

Functions

toString

override fun toString(): String

JSON representation of this constraint object.

writeTo

override fun writeTo(writer: BsonFieldWriter)

Writes this object to the provided writer.