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

@ -2,12 +2,12 @@ import json
import urllib
import re
from datasette import hookimpl
from datasette.database import QueryInterrupted
from datasette.utils import (
escape_sqlite,
path_with_added_args,
path_with_removed_args,
detect_json1,
QueryInterrupted,
InvalidSql,
sqlite3,
)