Other Protocols
The following protocols are available globally.
-
An interface to a custom FTS5 tokenizer.
See moreDeclaration
Swift
public protocol FTS5Tokenizer
-
A custom SQL aggregate function.
See moreDeclaration
Swift
public protocol SQLAggregateFunction
-
A custom SQL aggregate window function.
See moreDeclaration
Swift
public protocol SQLAggregateWindowFunction : SQLAggregateFunction
-
A cursor for an SQLite virtual table
See moreDeclaration
Swift
public protocol VirtualTableCursor
-
An SQLite virtual table module.
In the context of SQLite modules,
init(arguments:create:)
is conceptually equivalent toxConnect
whencreate
isfalse
and toxCreate
whencreate
is true. That is,create
istrue
if the module instance is being constructed as part of aCREATE VIRTUAL TABLE
statement.deinit
is conceptually equivalent toxDisconnect
whiledestroy
is conceptually equivalent toxDestroy
.destroy()
is invoked by aDROP TABLE
statement.Seealso
Virtual Table ObjectDeclaration
Swift
public protocol VirtualTableModule
-
An eponymous virtual table module.
An eponymous virtual table module presents a virtual table with the same name as the module and does not require a
See moreCREATE VIRTUAL TABLE
statement to be available.Declaration
Swift
public protocol EponymousVirtualTableModule : VirtualTableModule
-
An error supplying a message and description.
See moreDeclaration
Swift
public protocol Error : Error