ericsink / SQLitePCL.raw

A Portable Class Library (PCL) for low-level (raw) access to SQLite
Apache License 2.0
512 stars 106 forks source link

Adding a custom auxiliary function #576

Open torfluor opened 6 months ago

torfluor commented 6 months ago

I'm porting an application from Swift to .NET MAUI that's using a custom FTS5 auxiliary function for highlighting search matches in PDF document. The custom function returns a list with offset and length for each match. According to the SQLite FTS5 documentation 7.2 the aux function can be added with xCreateFunction, but I have not been able to find any information on how this can be done in .NET. Any help would be highly appreciated!

ericsink commented 6 months ago

Sadly, it looks like I don't yet have support for that API. Let's consider this issue to be a feature request for it to be added.