mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-18 14:34:24 +02:00
add escape functionality from datsette
This commit is contained in:
parent
eb5aa71bce
commit
2d2376ffd8
2 changed files with 24 additions and 3 deletions
|
|
@ -509,6 +509,6 @@ def test_quote_fts_query(fresh_db):
|
|||
table.enable_fts(["text", "country"])
|
||||
|
||||
query = "cat's"
|
||||
list(table.search(query))
|
||||
|
||||
|
||||
result = fresh_db.quote_fts(query)
|
||||
# Executing query does not crash.
|
||||
list(table.search(result))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue