AnnotationFlag

This enum contains all no-argument flags that can be added as annotation to the fields. It's part of the DBAnnotation SumType.

Values

ValueMeaning
autoCreateTime

corresponds to the dorm.annotations.autoCreateTime UDA.

autoUpdateTime

corresponds to the dorm.annotations.autoUpdateTime UDA.

autoIncrement

corresponds to the dorm.annotations.autoIncrement UDA.

primaryKey

corresponds to the dorm.annotations.primaryKey UDA.

unique

corresponds to the dorm.annotations.unique UDA.

notNull

corresponds to the dorm.annotations.notNull UDA. Implicit for all types except Nullable!T and Model.

Meta