Maximum¶
class Maximum(
val number: Number,
val numberType: KType,
val exclusive: Boolean,
factory: BsonFactory
) : Schema.ComplexConstraint<Number>
This property must have a value less than or equal to number.
If the property does not contain a number, this constraint is ignored.
Constructors¶
Maximum¶
constructor(
number: Number,
numberType: KType,
exclusive: Boolean,
factory: BsonFactory
)
Properties¶
exclusive¶
number¶
numberType¶
val numberType: KType
Functions¶
toString¶
writeTo¶
open override fun writeTo(writer: BsonFieldWriter)
Writes this object to the provided writer.