Simon Willison
|
b796519da2
|
Print exceptions if they occur in the write thread
|
2020-03-02 17:59:29 -08:00 |
|
Simon Willison
|
a093c5f79f
|
.execute_write() and .execute_write_fn() methods on Database (#683)
Closes #682.
|
2020-02-24 20:45:07 -08:00 |
|
Simon Willison
|
6303ea5048
|
prepare_connection() now takes datasette and database args, refs #678
|
2020-02-21 17:32:40 -08:00 |
|
Simon Willison
|
f1442a8151
|
Replaced self.ds.execute with db.execute in more places
|
2020-02-13 18:20:05 -08:00 |
|
Simon Willison
|
16665c9ee6
|
Better handling of corrupted database files
|
2019-12-22 15:31:40 +00:00 |
|
Simon Willison
|
a9909c29cc
|
Move .execute() from Datasette to Database
Refs #569 - I split this change out from #579
|
2019-11-15 14:52:03 -08:00 |
|
Simon Willison
|
28c4a6db5b
|
CREATE INDEX statements on table page, closes #618
|
2019-11-09 17:29:36 -08:00 |
|
Simon Willison
|
f04deebec4
|
Refactored connection logic to database.connect()
|
2019-07-26 13:22:57 +03:00 |
|
Simon Willison
|
bd4dbc8519
|
Rename InterruptedError => QueryInterrupted, closes #490
|
2019-05-27 17:16:36 -07:00 |
|
Simon Willison
|
edb36629e7
|
Database.get_outbound_foreign_keys() refactor
Following this, the only module that ever makes calls to the low-level
execute_against_connection_in_thread() method is datasette/database.py
|
2019-05-27 11:41:44 -07:00 |
|
Simon Willison
|
20f98c3e20
|
Databse.primary_keys(table) / fts_table(table) refactor, closes #488
Also cleaned up some unused imports spotted by the linter.
|
2019-05-27 11:27:42 -07:00 |
|
Simon Willison
|
6569287d90
|
Refactored ConnectedDatabase to datasette/database.py
Closes #487
|
2019-05-26 22:07:43 -07:00 |
|