Type¶
class Type(val bsonType: BsonType, factory: BsonFactory) : Schema.SimpleConstraint<Any?>
This property must have a value of the given bsonType.
Constructors¶
Type¶
constructor(bsonType: BsonType, factory: BsonFactory)
Properties¶
bsonType¶
name¶
Functions¶
toString¶
writeTo¶
override fun writeTo(writer: BsonFieldWriter)
Writes this object to the provided writer.