On Tue, Oct 6, 2015 at 5:13 PM, Hick Gunter <hick at scigames.at> wrote:

> 1) Each connection needs to load the image(s) that contain(s) the virtual
> module code (unless you have already linked it into a single image).
> 2) Each connection needs to declare the virtual module(s) by calling
> sqlite3_create_module(_v2).
> 3) Each connection needs to declare the tables using "CREATE VIRTUAL TABLE
> IF NOT EXISTS <table> USING <module> [(<arguments>)]"
> 4) Each xCreate/xConnect method needs to call sqlite3_declare_vtab() to
> tell SQLite about the table's fields
> 5) Each xCrteae/xConnect method also needs to allocate and return a
> sqlite_vtab structure on success, or an error status.
>
> Ad3) using IF NOT EXISTS prevents problems with failing re-creation of
> tables


Thanks a bunch Hick. Thanks to your input and the details above, we managed
to get it going. Really appreciated. Regards, --DD

Reply via email to