sqlite-utils populate-fts --tokenize= option, closes #130

This commit is contained in:
Simon Willison 2020-08-01 13:51:05 -07:00
commit 57e4eb8e55
4 changed files with 35 additions and 11 deletions

View file

@ -776,7 +776,7 @@ class Table(Queryable):
table=self.name,
columns=", ".join("[{}]".format(c) for c in columns),
fts_version=fts_version,
tokenize="\n tokenize='{}',\n".format(tokenize)
tokenize="\n tokenize='{}',".format(tokenize)
if tokenize
else "",
)