Skip to main content

Module sql

Module sql 

Source
Expand description

SQLite tokens used to inspect CREATE statements without matching comments or strings.

Enums§

Token
A token of SQL text.

Functions§

alias_name
The name, lowercase, SQLite gives a result column that alias names.
identifier
Quote an identifier, never a value or SQL fragment.
name
A name the parser read, without the quotes SQLite allows around it: double quotes, backticks, brackets, or single quotes where SQLite reads a string as a name.
scan
Each token of sql, without comments and whitespace, with its kind and its byte range in sql. SQLite’s parameter names and unterminated block comments are accepted as SQLite accepts them.
tokens
The tokens of sql, without its comments and whitespace.
unparenthesized
expr without the parentheses around it, each holding one expression.
values_names
The names SQLite gives the columns of a VALUES list whose first row has width expressions: column1, column2, and so on.