Column<T> constructor

Column<T>(
  1. String _columnName,
  2. Table table, {
  3. bool hasDefault = false,
  4. String? fieldName,
})

Creates a new Column, this is typically done in generated code only.

Implementation

Column(
  this._columnName,
  this.table, {
  this.hasDefault = false,
  String? fieldName,
}) : _fieldName = fieldName ?? _columnName,
     type = T;