The simplest approach would be to create a table to hold this information. I have an extension that works way -- you have to run an initialization function (SELECT function();) to create metadata tables before creating any tables using the extension.

Best,

Peter

On 3/6/2012 6:35 AM, Grace Simon Batumbya wrote:
Hello there,
I am developing an SQLite extension in which I would like the user to be able to specify some configurations before the creation of any tables and then have those settings persist for that database.( I got this idea from the way pragma encoding work <http://www.sqlite.org/pragma.html#pragma_encoding>s)

My question, is how do I go about doing this? is there a best practises on how to implement configurations for user extensions?

Thanks.

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

Reply via email to