Other Protocols

The following protocols are available globally.

  • An interface to a custom FTS5 tokenizer.

    See more

    Declaration

    Swift

    public protocol FTS5Tokenizer
  • A custom SQL aggregate function.

    See more

    Declaration

    Swift

    public protocol SQLAggregateFunction
  • A custom SQL aggregate window function.

    See more

    Declaration

    Swift

    public protocol SQLAggregateWindowFunction : SQLAggregateFunction
  • A cursor for an SQLite virtual table

    See more

    Declaration

    Swift

    public protocol VirtualTableCursor
  • An SQLite virtual table module.

    In the context of SQLite modules, init(arguments:create:) is conceptually equivalent to xConnect when create is false and to xCreate when create is true. That is, create is true if the module instance is being constructed as part of a CREATE VIRTUAL TABLE statement.

    deinit is conceptually equivalent to xDisconnect while destroy is conceptually equivalent to xDestroy. destroy() is invoked by a DROP TABLE statement.

    See more

    Declaration

    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 CREATE VIRTUAL TABLE statement to be available.

    See more

    Declaration

    Swift

    public protocol EponymousVirtualTableModule : VirtualTableModule
  • An error supplying a message and description.

    See more

    Declaration

    Swift

    public protocol Error : Error