should be it
This commit is contained in:
20
external/duckdb/extension/autocomplete/grammar/statements/create_sequence.gram
vendored
Normal file
20
external/duckdb/extension/autocomplete/grammar/statements/create_sequence.gram
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
CreateSequenceStmt <- 'SEQUENCE' IfNotExists? QualifiedName SequenceOption*
|
||||
|
||||
SequenceOption <-
|
||||
SeqSetCycle /
|
||||
SeqSetIncrement /
|
||||
SeqSetMinMax /
|
||||
SeqNoMinMax /
|
||||
SeqStartWith /
|
||||
SeqOwnedBy
|
||||
|
||||
SeqSetCycle <- 'NO'? 'CYCLE'
|
||||
SeqSetIncrement <- 'INCREMENT' 'BY'? Expression
|
||||
SeqSetMinMax <- SeqMinOrMax Expression
|
||||
SeqNoMinMax <- 'NO' SeqMinOrMax
|
||||
SeqStartWith <- 'START' 'WITH'? Expression
|
||||
SeqOwnedBy <- 'OWNED' 'BY' QualifiedName
|
||||
|
||||
|
||||
SeqMinOrMax <- 'MINVALUE' / 'MAXVALUE'
|
||||
|
||||
Reference in New Issue
Block a user