Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optional (or choice) LIMIT and OFFSET #98

Open
cyberhuman opened this issue Aug 20, 2020 · 0 comments
Open

optional (or choice) LIMIT and OFFSET #98

cyberhuman opened this issue Aug 20, 2020 · 0 comments
Assignees

Comments

@cyberhuman
Copy link
Contributor

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
@ygrek ygrek self-assigned this Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants