GeneratedColumn<T> constructor

GeneratedColumn<T>(
  1. String $name,
  2. String tableName,
  3. bool $nullable, {
  4. T clientDefault()?,
  5. required SqlType type,
  6. String? defaultConstraints,
  7. String? $customConstraints,
  8. Expression<T>? defaultValue,
  9. VerificationResult additionalChecks(
    1. T,
    2. VerificationMeta
    )?,
  10. bool requiredDuringInsert = false,
  11. GeneratedAs? generatedAs,
  12. 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;