AnyOf¶
class AnyOf<T>(val schemas: List<Schema<T>>, factory: BsonFactory) : Schema.SimpleConstraint<T>
The value must confirm to at least one of the given schemas.
Constructors¶
AnyOf¶
constructor(schemas: List<Schema<T>>, factory: BsonFactory)
Properties¶
name¶
schemas¶
Functions¶
toString¶
writeTo¶
override fun writeTo(writer: BsonFieldWriter)
Writes this object to the provided writer.