moor.sqlite_keywords library

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.


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.