Making parametrized queries in BigQuery should be easy #6386
Labels
api: bigquery
Issues related to the BigQuery API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
If you want developers to not make SQL injection vulnerabilities, you should make their job easier.
Look at sqlite3 API design:
c.execute('SELECT * FROM stocks WHERE symbol=?', t)
.Compare this to BigQuery:
Why I need to put query params into job config?
Why I need to mutate the job config?
Query params should be a query function parameter. Or at least part of QueryJobConfig constructor, so I can do:
The text was updated successfully, but these errors were encountered: