moor.sqlite_keywords library Null safety

Provides utilities around sql keywords, like optional escaping etc.


sqliteKeywords → const Set<String>
Contains a set of all sqlite keywords, according to Moor will use this list to escape keywords.
const {'ADD', 'ABORT', 'ACTION', 'AFTER', 'ALL', 'ALTER', 'ALWAYS', 'ANALYZE', 'AND', 'AS', 'ASC', 'ATTACH&#…


escapeIfNeeded(String s) String
Escapes s by wrapping it in backticks if it's an sqlite keyword.
isSqliteKeyword(String s) bool
Returns whether s is an sql keyword by comparing it to the sqliteKeywords.