We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following is the result of some testing via https://prql-lang.org/playground/
Minimal example 1:
prql sqldialect:mysql from employees | take (-1)
Generates the following invalid SQL:
SELECT * FROM employees LIMIT -1 L
Minimal example 2: Any range starting with a number less than 1 has a similar issue.
prql sqldialect:mysql from employees | take (0..1)
Generates the following SQL with a disallowed negative offset:
SELECT * FROM employees LIMIT 2 OFFSET -1
As an aside, I'm big fan of this project and I only wish it had existed years ago. 👍 🥇
The text was updated successfully, but these errors were encountered:
Closed by #1397 as:
Error: ╭─[:58:18] │ 58 │ from employees | take (0..1) · ─────┬───── · ╰─────── take expected a positive int range, but found 0..1 ────╯
Sorry, something went wrong.
take -10
No branches or pull requests
The following is the result of some testing via https://prql-lang.org/playground/
Minimal example 1:
Generates the following invalid SQL:
Minimal example 2:
Any range starting with a number less than 1 has a similar issue.
Generates the following SQL with a disallowed negative offset:
As an aside, I'm big fan of this project and I only wish it had existed years ago. 👍 🥇
The text was updated successfully, but these errors were encountered: