BuildColumn<T extends Object>  extension 
 
DSL extension to define a column inside a drift table.
- on
Methods
- 
  check(Expression< bool> condition) → ColumnBuilder<T> 
- 
      Available on ColumnBuilder< Adds aT> , provided by the BuildColumn extensionCHECKconstraint to this column.
- 
  clientDefault(T onInsert()) → ColumnBuilder< T> 
- 
      Available on ColumnBuilder< Sets a dynamic default value for this column.T> , provided by the BuildColumn extension
- 
  customConstraint(String constraint) → ColumnBuilder< T> 
- 
      Available on ColumnBuilder< Tells drift to write a custom constraint after this column definition when writing this column, for instance in a CREATE TABLE statement.T> , provided by the BuildColumn extension
- 
  generatedAs(Expression< T> generatedAs, {bool stored = false}) → VirtualColumnBuilder<T> 
- 
      Available on ColumnBuilder< Declare a generated column.T> , provided by the BuildColumn extension
- 
  references(Type table, Symbol column, {KeyAction? onUpdate, KeyAction? onDelete, bool initiallyDeferred = false}) → ColumnBuilder< T> 
- 
      Available on ColumnBuilder< Adds a foreign-key reference from this column.T> , provided by the BuildColumn extension
- 
  withDefault(Expression< T> e) → ColumnBuilder<T> 
- 
      Available on ColumnBuilder< The column will use this expression when a row is inserted and no value has been specified.T> , provided by the BuildColumn extension