SQL query builder: fix bug
SQL query builder: fix bug: a task in smol-software-harbor (Harbor dataset). Queries built with both where() and limit() return wrong rows: in Query.build() ( qb.py ) the LIMIT value is placed first in the parameter list although its placeholder comes last. Parameters must follow the order of the…
The task
Queries built with both `where()` and `limit()` return wrong rows: in `Query.build()` (`qb.py`) the LIMIT value is placed first in the parameter list although its placeholder comes last. Parameters must follow the order of the `?` placeholders. Fix it and run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.