MinItems¶
class MinItems(val size: Int, factory: BsonFactory) : Schema.SimpleConstraint<Collection<*>>
The minimum number of items in an array (inclusive).
If the property does not contain an array, this constraint is ignored.
Constructors¶
MinItems¶
constructor(size: Int, factory: BsonFactory)
Properties¶
name¶
size¶
Functions¶
toString¶
writeTo¶
override fun writeTo(writer: BsonFieldWriter)
Writes this object to the provided writer.