Olivier Mascia wrote: >> Le 31 mars 2016 ? 11:03, Clemens Ladisch <clemens at ladisch.de> a ?crit : >>> I think it is obvious I could build a SQL statement from within the >>> function and execute it. But it sounds costly to involve the parser >>> (yes, it's fast) for that, isn't it? >> >> You can prepare the statement beforehand. > > Not really. Preparing the statement involves the connection object > which won't be known before function call.
The call to sqlite3_create_function() already involved the connection object. Regards, Clemens