mirror of https://github.com/AMT-Cheif/drift.git
Fix typo in error message of insert col list
This commit is contained in:
parent
6bf32b5bf8
commit
cfa33f9a02
|
@ -23,9 +23,10 @@ class Entries extends Table with TableInfo<Entries, Entrie> {
|
|||
@override
|
||||
List<GeneratedColumn> get $columns => [id, value];
|
||||
@override
|
||||
String get aliasedName => _alias ?? 'entries';
|
||||
String get aliasedName => _alias ?? actualTableName;
|
||||
@override
|
||||
String get actualTableName => 'entries';
|
||||
String get actualTableName => $name;
|
||||
static const String $name = 'entries';
|
||||
@override
|
||||
VerificationContext validateIntegrity(Insertable<Entrie> instance,
|
||||
{bool isInserting = false}) {
|
||||
|
|
|
@ -1736,7 +1736,7 @@ class Parser {
|
|||
} while (_matchOne(TokenType.comma));
|
||||
|
||||
_consume(TokenType.rightParen,
|
||||
'Expected clpsing parenthesis after column list');
|
||||
'Expected closing parenthesis after column list');
|
||||
}
|
||||
final source = _insertSource();
|
||||
final upsert = <UpsertClauseEntry>[];
|
||||
|
|
Loading…
Reference in New Issue