MoorTable constructor
MoorTable({
- ClassElement? fromClass,
- List<
MoorColumn> columns = const [], - required String sqlName,
- required String dartTypeName,
- Set<
MoorColumn> ? primaryKey, - List<
Set< ? uniqueKeys,MoorColumn> > - String? overriddenName,
- bool? overrideWithoutRowId,
- List<
String> ? overrideTableConstraints, - bool? overrideDontWriteConstraints,
- TableDeclaration? declaration,
- ExistingRowClass? existingRowClass,
- String? customParentClass,
- bool isStrict = false,
Implementation
MoorTable({
this.fromClass,
this.columns = const [],
required this.sqlName,
required this.dartTypeName,
this.primaryKey,
this.uniqueKeys,
String? overriddenName,
this.overrideWithoutRowId,
this.overrideTableConstraints,
this.overrideDontWriteConstraints,
this.declaration,
this.existingRowClass,
this.customParentClass,
this.isStrict = false,
}) : _overriddenName = overriddenName {
_attachToConverters();
}