Use query.params() for selectable queries
Heya - thanks for this! Could we get a test case and a brief explanation?
added a test
@tomchristie ping
Hey @abetkin thanks for fixing this, I ran into the same problem :-). FWIW I have worked around the problem by doing database.fetch_all(select_query.params(foo=1))
By the way, I notice that the test run failed simply because of file formatting in test_databases.py (perhaps just not enough new lines).
There's a linter failure on this pull request at the moment.
Running scripts/lint would resolve this.