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

Query bind parameters #26

Open
chorsley opened this issue Dec 2, 2016 · 0 comments
Open

Query bind parameters #26

chorsley opened this issue Dec 2, 2016 · 0 comments
Milestone

Comments

@chorsley
Copy link
Contributor

chorsley commented Dec 2, 2016

SQL queries in the aggregator must use bind parameters as best practice - please see http://initd.org/psycopg/docs/usage.html#the-problem-with-the-query-parameters. Data should be passed as an tuple arg to execute(), not interpolated in the string. This is already done for some queries, but not all.

@zelima zelima added this to the Backlog milestone Dec 20, 2016
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

3 participants