MultipleOf¶
class MultipleOf(
val number: Number,
val numberType: KType,
factory: BsonFactory
) : Schema.SimpleConstraint<Number>
This property must have a value that, when divided by number, is an integer.
If the property does not contain a number, this constraint is ignored.
Constructors¶
MultipleOf¶
constructor(
number: Number,
numberType: KType,
factory: BsonFactory
)
Properties¶
name¶
number¶
numberType¶
val numberType: KType
Functions¶
toString¶
writeTo¶
override fun writeTo(writer: BsonFieldWriter)
Writes this object to the provided writer.