Module wing_sqlparser::keywords[][src]

Expand description

This module defines

  1. a list of constants for every keyword that can appear in [Word::keyword]: pub const KEYWORD = “KEYWORD”

  2. an ALL_KEYWORDS array with every keyword in it This is not a list of reserved keywords: some of these can be parsed as identifiers if the parser decides so. This means that new keywords can be added here without affecting the parse result.

    As a matter of fact, most of these keywords are not used at all and could be removed.

  3. a RESERVED_FOR_TABLE_ALIAS array with keywords reserved in a “table alias” context.

Enums

Constants

Can’t be used as a column alias, so that SELECT <expr> alias can be parsed unambiguously without looking ahead.

These keywords can’t be used as a table alias, so that FROM table_name alias can be parsed unambiguously without looking ahead.