EponymousVirtualTableModule

public protocol EponymousVirtualTableModule : 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.

  • Opens a connection to an SQLite eponymous virtual table module.

    Throws

    SQLiteError if the module could not be created

    Declaration

    Swift

    init(database: Database, arguments: [String]) throws

    Parameters

    database

    The database to which this virtual table module is being added.

    arguments

    The arguments used to create the virtual table module. The first argument is the name of the module being invoked. The second argument is the name of the database in which the virtual table is being created. The third argument is the name of the new virtual table.