SQLite.swift icon indicating copy to clipboard operation
SQLite.swift copied to clipboard

Using FTS5 custom auxiliary functions with SQLite.swift

Open venkr opened this issue 2 years ago • 0 comments

FTS5 has a lot of exciting functionality (mostly BM-25), but removes some functionality I care about - the offsets and snippet functions.

I'm considering using Custom Auxiliary Functions to re-implement these pieces of functionality, and the docs suggest that this is achieved with FTS5 by calling xCreateFunction() on the fts5_api object.

I've found info re: SQL custom functions in the docs, but not mention of FTS5 custom auxiliary functions if they're supported. Is there any straightforward way to achieve this?

venkr avatar Feb 28 '23 23:02 venkr