Column constructor
const
Column({
- NameConversion nameConversion = snakeCapitalCaseConversion,
- String? name,
- String? dartName,
- Type? dartType,
- required SQLDataType type,
- bool primaryKey = false,
- bool autoIncrement = false,
- dynamic idGenerator,
- dynamic defaultValue,
- bool unique = false,
- String? uniqueGroup,
- bool notNull = true,
- bool readonly = false,
- dynamic reader,
- dynamic writer,
create column annotation
Implementation
const Column({
this.nameConversion = snakeCapitalCaseConversion,
this.name,
this.dartName,
this.dartType,
required this.type,
this.primaryKey = false,
this.autoIncrement = false,
this.idGenerator,
this.defaultValue,
this.unique = false,
this.uniqueGroup,
this.notNull = true,
this.readonly = false,
this.reader,
this.writer,
});