Fix typo in error message of insert col list

This commit is contained in:
Simon Binder 2023-10-10 21:59:03 +02:00
parent 6bf32b5bf8
commit cfa33f9a02
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
2 changed files with 4 additions and 3 deletions

View File

@ -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}) {

View File

@ -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>[];