Added vacuum to CLI and Python API

This commit is contained in:
Simon Willison 2019-01-24 19:39:04 -08:00
commit 231224ba1a
6 changed files with 40 additions and 0 deletions

View file

@ -98,6 +98,9 @@ class Database:
)
)
def vacuum(self):
self.conn.execute("VACUUM;")
class Table:
def __init__(self, db, name):