mirror of
https://github.com/simonw/datasette.git
synced 2026-06-06 00:56:57 +02:00
7 lines
166 B
Python
7 lines
166 B
Python
|
|
from datasette import hookimpl
|
||
|
|
from datasette.utils import escape_fts
|
||
|
|
|
||
|
|
|
||
|
|
@hookimpl
|
||
|
|
def prepare_connection(conn):
|
||
|
|
conn.create_function("escape_fts", 1, escape_fts)
|