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
When I make an SQL query via the API, I'd like to optionally pass in parameters, e.g.,
{user}.carto.com/api/v2/sql/?api_key=XXXX&sql=SELECT * FROM table WHERE num > $1¶ms[]=5 // runs SELECT * FROM table WHERE num > 5
This helps protect against SQL injection and simplifies client code (as opposed to rolling my own string sanitization functions).
It looks like it should be a straightforward change. Is this something you would be open to if I put up a PR?
The text was updated successfully, but these errors were encountered:
Closing as this is a duplicate of #239.
Sorry, something went wrong.
No branches or pull requests
When I make an SQL query via the API, I'd like to optionally pass in parameters, e.g.,
This helps protect against SQL injection and simplifies client code (as opposed to rolling my own string sanitization functions).
It looks like it should be a straightforward change. Is this something you would be open to if I put up a PR?
The text was updated successfully, but these errors were encountered: