keywords constant

Set<String> const keywords

Implementation

static const Set<String> keywords = {
  // DML
  'select', 'from', 'where', 'and', 'or', 'not',
  'insert', 'into', 'values',
  'update', 'set',
  'delete',
  // DDL
  'create', 'table', 'drop', 'if', 'exists',
  // Joins
  'join', 'inner', 'left', 'outer', 'right', 'cross', 'on',
  // Types
  'int', 'text', 'real', 'bool', 'integer', 'varchar', 'float', 'boolean',
  // Constraints
  'primary', 'key', 'unique', 'index', 'default',
  // Null handling
  'null', 'is',
  // Boolean literals
  'true', 'false',
  // Predicates
  'like', 'between', 'in', 'as',
  // Aggregation & grouping
  'group', 'by', 'having',
  'count', 'sum', 'avg', 'min', 'max', 'distinct',
  // Ordering
  'order', 'asc', 'desc', 'nulls', 'first', 'last',
  // Pagination
  'limit', 'offset',
  // Transaction control
  'begin', 'commit', 'rollback', 'transaction', 'work',
  'savepoint', 'release',
  // Utility
  'explain', 'plan', 'analyze', 'with',
  // Scalar functions
  'lower', 'upper', 'trim', 'length', 'coalesce', 'substr', 'cast',
  'isnull', 'ifnull', 'round', 'abs',
};