Field.hasGeneratedDefaultValue

Returns true if: - this field has some annotation that auto-generates a value if it's not provided in an insert statement, (@defaultValue, @autoCreateTime, @autoIncrement) - has a @constructValue annotation (which is handled in db.d) - is nullable (e.g. of type Nullable!T), which implies that null is the default value.

struct Field
@safe const @property
@serdeIgnore
bool
hasGeneratedDefaultValue
()

Meta