SQLite Forum

Vritual Tables Performing SQL Queries
Login
An (sqlite3*) handle is passed to the xConnect/xCreate method. You can save a copy in your sqlite3_vtab structure and use it from within any of the other methods.

This is what fts5, rtree and lots more do.

Dan.