Commit graph

3 commits

Author SHA1 Message Date
Hugo van Kemenade
15f15933b1 Upgrade syntax with pyupgrade --py39-plus 2024-11-24 11:48:16 +02:00
Simon Willison
cf2cb244fa
Tracer mechanism for showing underlying SQL queries
* Pass a tracer= function to Database constructor
* New db.tracer() contextmanager
* Neater SQL indentation, because tracer means it could be visible now
* New db.execute() and db.executescript() methods

Closes #150
2020-09-07 14:56:59 -07:00
Simon Willison
daf2a245aa Unit tests covering column_affinity, refs #92 2020-03-14 13:05:07 -07:00