DBAnnotation

SumType combining all the different annotations (UDAs) that can be added to a model field, in a serializable format. (e.g. the lambdas are moved into a helper field in the model description and these annotations only contain an integer to reference it)

Constructors

this
this(T v)
Undocumented in source.

Alias This

value

Members

Functions

isCompatibleWith
bool isCompatibleWith(DBAnnotation other, bool firstTry)

Returns true if the other annotation can be used together with this one. Must not call on itself, only on other instances. (which may be the same attribute however)

isForeignKeyInheritable
bool isForeignKeyInheritable()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
auto opAssign(T v)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

value
SumType!(AnnotationFlag, maxLength, PossibleDefaultValueTs, Choices, index, ForeignKeyImpl) value;
Undocumented in source.

Meta