The find function provides capability to use function filters in virtual tables
https://sqlite.org/vtab.html#xfindfunction
It should be great to be able to use it. if the findfunction was returning a integer instead of a function could be used to define the value