Skip to content

TypeNumber

This property must have a numeric value (BsonType.Double, BsonType.Int32, BsonType.Int64 or BsonType.Decimal128).

Constructors

TypeNumber

constructor(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.