The schema for specifying the type of a specific Realm object property.
"mixed" types are always optional because
null is a valid value within
itself. Therefore, they cannot be made non-optional.
undefined. Whereas in in dictionaries, deleted values are
null and cannot be made non-optional.
Optional default?: unknown
The default value that the property will be set to when created.
Optional indexed?: IndexedType
The type of index applied to the property.
false if the property is not a primary key, otherwise
Optional optional?: boolean
Whether to allow
undefined to be assigned to the property; or in the
case of a collection, to be assigned to its elements. (Realm object types in lists
and sets cannot be optional.)
false except in cases listed in the documentation for this type.
Optional property?: string
The name of the property of the object specified in
objectType that creates this
link. (Can only be set for linking objects.)
The type of the property.
Generated using TypeDoc