Documentation for tracer mechanism

This commit is contained in:
Simon Willison 2020-09-07 14:54:07 -07:00
commit f12251092c
12 changed files with 68 additions and 22 deletions

View file

@ -396,7 +396,7 @@ def test_enable_fts_with_triggers(db_path):
def search(q):
return (
Database(db_path)
.conn.execute("select c1 from Gosh_fts where c1 match ?", [q])
.execute("select c1 from Gosh_fts where c1 match ?", [q])
.fetchall()
)
@ -417,7 +417,7 @@ def test_populate_fts(db_path):
def search(q):
return (
Database(db_path)
.conn.execute("select c1 from Gosh_fts where c1 match ?", [q])
.execute("select c1 from Gosh_fts where c1 match ?", [q])
.fetchall()
)