On 6 Feb 2018, at 8:33am, Ulrich Telle <ulrich.te...@gmx.de> wrote:

> Another possibility would be to add a user-defined function for the 
> configuration of the extension that could be called from a SELECT 
> statement:
> 
> SELECT myextension_config('param-name', 'param-value');

I've seen this done before.  Of course it means that your normal function is 
not deterministic, so you may no longer use SQLITE_DETERMINISTIC .  This is in 
contrast to a function where parameters are set during compilation.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to