SQL query builder: add feature
SQL query builder: add feature: a task in smol-software-harbor (Harbor dataset). Add an order by(col, desc=False) method to Query in qb.py : each call appends col ASC or col DESC to an ORDER BY clause (placed after WHERE and before LIMIT , several columns separated by , ), returns the query for…
The task
Add an `order_by(col, desc=False)` method to `Query` in `qb.py`: each call appends `col ASC` or `col DESC` to an `ORDER BY` clause (placed after `WHERE` and before `LIMIT`, several columns separated by `, `), returns the query for chaining, and raises `ValueError` for a column name that is not made of letters, digits…
Part of efederici/smol-software-harbor.