You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Column names can, in theory, be the same as sqlite keywords, so long as they are always surrounded in double-quotes in the generated sql. SqlBuilder from package:sqflite/src/sql_builder.dart already does this, so it might be enough to reimplement all the different compose functions as just calls to their respective SqlBuilder methods, e.g. composeInsert becomes return SqlBuilder.insert(info.table, info.values);.
For reference, here's the error for a column named "when":
Column names can, in theory, be the same as sqlite keywords, so long as they are always surrounded in double-quotes in the generated sql.
SqlBuilder
frompackage:sqflite/src/sql_builder.dart
already does this, so it might be enough to reimplement all the different compose functions as just calls to their respectiveSqlBuilder
methods, e.g.composeInsert
becomesreturn SqlBuilder.insert(info.table, info.values);
.For reference, here's the error for a column named
"when"
:(plus 30 other frames that are just flutter)
The text was updated successfully, but these errors were encountered: