Open
Description
The current example of custom functions is a simple add2
function which only interacts with the arguments given. Could we get more realistic examples that actually operate on data from the database?
Specifically, I'm looking for a way to order by lat/long distance (a la https://stackoverflow.com/questions/3168904/sql-query-to-query-nearby-points-of-interest-based-on-lat-long-sqlite).
I'm also curious of the performance implications of having the function written in JavaScript rather than C.