SqliteVtabConnectCallback
typealias SqliteVtabConnectCallback<AppData, Vtab> = SqliteVtabCreateOrConnectCallback<AppData, Vtab>(source)
The xConnect method is very similar to xCreate. It has the same parameters and constructs a new sqlite3_vtab structure just like xCreate. And it must also call sqlite3_declare_vtab() like xCreate. It should also make all of the same sqlite3_vtab_config() calls as xCreate.
The difference is that xConnect is called to establish a new connection to an existing virtual table whereas xCreate is called to create a new virtual table from scratch.