Simon Willison
69a1c0d960
Fixes for Ruff>=0.16.0 ( #814 )
...
* Automated upgrades by Ruff
uvx --with 'ruff>=0.16.0' ruff check . --fix --unsafe-fixes
* Fix remaining Ruff errors with GPT-5.6 Sol high
https://gist.github.com/simonw/6da7906a9fea6e90da131c21a9055199
* Fix flake E501 long lines
* New Protocol for migrations to make ty happy
2026-07-25 14:53:12 -07:00
Simon Willison
fb93452ea8
Use double quotes not braces for tables and columns ( #678 )
...
Closes #677
2025-11-23 20:43:26 -08:00
Simon Willison
094b010fd8
db.table() only returns tables, added db.view()
...
* db.table() only returns tables, added db.view(), closes #657
* Massive documentation update for db.table()
Refs #656
2025-05-08 23:19:36 -07:00
Simon Willison
4823aff4c3
table.count_where() method, closes #305
2021-08-01 22:08:17 -07:00
Simon Willison
90e211e3e2
Now complies with flake8, refs #291
2021-06-22 18:22:08 -07:00
Simon Willison
0d2a47eab9
.reset_counts() method and reset-counts command, closes #219
2021-01-03 12:59:31 -08:00
Simon Willison
94b5023066
table.count now uses cached counts if db.use_counts_table
...
Closes #215
2021-01-03 12:19:34 -08:00
Simon Willison
ce042ff1f0
'sqlite-utils enable-counts' command, closes #214
2021-01-02 20:26:39 -08:00
Simon Willison
9a5c92b63e
db.enable_counts() method, closes #213
2021-01-02 14:03:52 -08:00
Simon Willison
1cad7fad3e
table.enable_counts() method, closes #212
2021-01-02 13:40:10 -08:00