mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Improvements + docs for db.execute() and Results class
* Including new results.first() and results.single_value() methods. Closes #685
This commit is contained in:
parent
69e3a855dd
commit
4433306c18
8 changed files with 141 additions and 29 deletions
|
|
@ -26,10 +26,9 @@ from .views.index import IndexView
|
|||
from .views.special import JsonDataView, PatternPortfolioView
|
||||
from .views.table import RowView, TableView
|
||||
from .renderer import json_renderer
|
||||
from .database import Database
|
||||
from .database import Database, QueryInterrupted
|
||||
|
||||
from .utils import (
|
||||
QueryInterrupted,
|
||||
escape_css_string,
|
||||
escape_sqlite,
|
||||
format_bytes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue