Skip to main content

SQL_KEYWORDS

Constant SQL_KEYWORDS 

Source
pub const SQL_KEYWORDS: &[&str];
Expand description

SQL keywords (uppercase for matching; input is uppercased before comparison).

Union of all keyword lists from the highlighter and autocomplete engine. Sorted alphabetically for maintainability. Does NOT include word operators (AND/OR/NOT) — those are in SQL_WORD_OPERATORS.

Note: REPLACE appears in both this list and SQL_FUNCTIONS intentionally. When followed by ( it is the REPLACE() string function; bare REPLACE (as in INSERT OR REPLACE) is a keyword. Consumers must preserve this precedence logic (check functions before keywords when ( follows).