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