GeneratedColumn<T extends Object> constructor
GeneratedColumn<T extends Object> (
- String $name,
- String tableName,
- bool $nullable, {
- T? clientDefault()?,
- required BaseSqlType<
T> type, - void defaultConstraints()?,
- String? $customConstraints,
- Expression<
T> ? defaultValue, - VerificationResult additionalChecks(
- T?,
- VerificationMeta
- bool requiredDuringInsert = false,
- GeneratedAs? generatedAs,
- Expression<
bool> check()?, - bool hasAutoIncrement = false,
Used by generated code.
Implementation
GeneratedColumn(
this.$name,
this.tableName,
this.$nullable, {
this.clientDefault,
required this.type,
void Function(GenerationContext)? defaultConstraints,
this.$customConstraints,
this.defaultValue,
this.additionalChecks,
this.requiredDuringInsert = false,
this.generatedAs,
this.check,
this.hasAutoIncrement = false,
}) : _defaultConstraints = defaultConstraints;