home / docs / sections_fts

Menu

sections_fts: 99

This data as json

rowid title content
99 await db.execute_fn(fn) Executes a given callback function against a read-only database connection running in a thread. The function will be passed a SQLite connection, and the return value from the function will be returned by the await . Example usage: def get_version(conn): return conn.execute( "select sqlite_version()" ).fetchall()[0][0] version = await db.execute_fn(get_version)
Powered by Datasette · Queries took 2.338ms