MaxProperties¶
class MaxProperties(val count: Int, factory: BsonFactory) : Schema.SimpleConstraint<Any>
The maximum number of properties in an object (inclusive).
If the property does not contain an object, this constraint is ignored.
Constructors¶
MaxProperties¶
constructor(count: Int, factory: BsonFactory)
Properties¶
count¶
name¶
Functions¶
toString¶
writeTo¶
override fun writeTo(writer: BsonFieldWriter)
Writes this object to the provided writer.