Column<T> constructor

const Column<T>(
  1. String name,
  2. Codec<T> codec, {
  3. bool nullable = false,
  4. bool generated = false,
  5. String? defaultSql,
  6. ComputedColumn? computed,
  7. T clientDefault()?,
  8. int? integerBits,
  9. int? decimalPrecision,
  10. int? decimalScale,
  11. int? temporalPrecision,
})

Describes one physical column without creating or validating a database.

Implementation

const Column(
  this.name,
  this.codec, {
  this.nullable = false,
  this.generated = false,
  this.defaultSql,
  this.computed,
  this.clientDefault,
  this.integerBits,
  this.decimalPrecision,
  this.decimalScale,
  this.temporalPrecision,
});