Skip to content

optional (or choice) LIMIT and OFFSET #98

@cyberhuman

Description

@cyberhuman
CREATE TABLE test ( id INTEGER PRIMARY KEY );
SELECT * FROM test
LIMIT @limit { Some { @limit } | None { 18446744073709551615 } }
OFFSET @offset { Some { @offset } | None { 0 } };
EOF
==> SELECT * FROM test
LIMIT @limit { Some { @limit } | None { 18446744073709551615 } }
OFFSET @offset { Some { @offset } | None { 0 } }
Position 2:14 Tokens: { Some { @limit } | None { 184467
Error: Sqlgg.Sql_parser.MenhirBasics.Error
Errors encountered, no code generated

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions