Improvements + docs for db.execute() and Results class

* Including new results.first() and results.single_value() methods. Closes #685
This commit is contained in:
Simon Willison 2020-05-08 09:05:46 -07:00 committed by GitHub
commit 4433306c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 141 additions and 29 deletions

View file

@ -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,