官网地址
http://www.sqlite.org/syntaxdiagrams.html
如何看懂?
箭头代表路径的指向。
开始
sql-stmt-list:
sql-stmt:
alter-table-stmt:
analyze-stmt:
attach-stmt:
begin-stmt:
commit-stmt:
rollback-stmt:
savepoint-stmt:
release-stmt:
create-index-stmt:
indexed-column:
create-table-stmt:
column-def:
type-name:
column-constraint:
signed-number:
table-constraint:
foreign-key-clause:
conflict-clause:
create-trigger-stmt:
create-view-stmt:
create-virtual-table-stmt:
with-clause:
cte-table-name:
recursive-cte:
common-table-expression:
delete-stmt:
delete-stmt-limited:
detach-stmt:
drop-index-stmt:
drop-table-stmt:
drop-trigger-stmt:
drop-view-stmt:
expr:
raise-function:
literal-value:
numeric-literal:
insert-stmt:
pragma-stmt:
pragma-value:
reindex-stmt:
select-stmt:
join-clause:
select-core:
factored-select-stmt:
simple-select-stmt:
compound-select-stmt:
table-or-subquery:
result-column:
join-operator:
join-constraint:
ordering-term:
compound-operator:
update-stmt:
column-name-list:
update-stmt-limited:
qualified-table-name:
vacuum-stmt:
comment-syntax: