I didn't understand how sqlite3 works with custom functions. Simply I don't get how to add any custom function to a database.
Do I really need to compile the C code file under my machine and use the resulting DLL (I'm under windows) as an sqlite extension? If so, how about using this extension under other OS (mac/linux...)? I know sqlite is os-independent but...
I currently have: udf_xxx.c (not compiled), mysqlite3.db (populated); I'm running on windows10.
I'm going to use php + sqlite, probably under linux. I cannot make a custom sqlite build.
The main question is: how to implement a UDF cross-platform in an existent sqlite3 database?