sqlite3_module
fun <AppData, Vtab : sqlite3_vtab, VtabCursor : sqlite3_vtab_cursor> sqlite3_module(version: SqliteModuleVersion, create: SqliteVtabCreateCallback<in AppData, Vtab>?, connect: SqliteVtabConnectCallback<in AppData, Vtab>, bestIndex: SqliteVtabBestIndexCallback<Vtab>, disconnect: SqliteVtabDisconnectCallback<Vtab>, destroy: SqliteVtabDestroyCallback<Vtab>, open: SqliteVtabOpenCallback<Vtab, VtabCursor>, close: SqliteVtabCloseCallback<VtabCursor>, filter: SqliteVtabFilterCallback<VtabCursor>, next: SqliteVtabNextCallback<VtabCursor>, eof: SqliteVtabEofCallback<VtabCursor>, column: SqliteVtabColumnCallback<VtabCursor>, rowid: SqliteVtabRowidCallback<VtabCursor>, update: SqliteVtabUpdateCallback<Vtab>?, findFunction: SqliteVtabFindFunctionCallback<Vtab>?, begin: SqliteVtabBeginCallback<Vtab>?, sync: SqliteVtabSyncCallback<Vtab>?, commit: SqliteVtabCommitCallback<Vtab>?, rollback: SqliteVtabRollbackCallback<Vtab>?, rename: SqliteVtabRenameCallback<Vtab>?, savepoint: SqliteVtabSavepointCallback<Vtab>?, release: SqliteVtabReleaseCallback<Vtab>?, rollbackTo: SqliteVtabRollbackToCallback<Vtab>?, integrity: SqliteVtabIntegrityCallback<Vtab>?): sqlite3_module<AppData>(source)
Returns an instance of sqlite3_module. For an eponymous virtual table, create and connect must be referentially equals (===).
See ksqlite.types.vtab.SqliteModuleVersion.VERSION_3 for explanation about why xShadowName is not supported.
The caller take the ownership of the returned sqlite3_module and is responsible to release it by invoking sqlite3_module.close.