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

Confusing error message no parameter $0 #8374

Open
fmoor opened this issue Feb 22, 2025 · 1 comment
Open

Confusing error message no parameter $0 #8374

fmoor opened this issue Feb 22, 2025 · 1 comment
Labels

Comments

@fmoor
Copy link
Member

fmoor commented Feb 22, 2025

If you use parameter $0 in a SQL query the error message says there is no parameter $0 Which can be interpreted as you didn't pass a value for parameter $0. But it means that the parameter numbers start at $1. This seems like something users will see often if they are working with both edgeql and SQL since edgeql parameters start with $0.

@fmoor fmoor added the compiler label Feb 22, 2025
@fmoor
Copy link
Member Author

fmoor commented Feb 22, 2025

I was told to notify @aljazerzen about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant