ColumnDef constructor
const
ColumnDef(
- String name,
- DataType type, {
- bool primaryKey = false,
- bool notNull = false,
- bool unique = false,
- bool autoIncrement = false,
- Object? defaultValue,
- String? defaultExprSql,
- String? checkExprSql,
- ForeignKeyRef? references,
- String? generatedExprSql,
- bool generatedStored = false,
- Map<
String, String> ? vectorSpec,
Implementation
const ColumnDef(
this.name,
this.type, {
this.primaryKey = false,
this.notNull = false,
this.unique = false,
this.autoIncrement = false,
this.defaultValue,
this.defaultExprSql,
this.checkExprSql,
this.references,
this.generatedExprSql,
this.generatedStored = false,
this.vectorSpec,
});