[][src]Module rusqlite::vtab

feature = "vtab" Create virtual tables.

Follow these steps to create your own virtual table:

  1. Write implemenation of VTab and VTabCursor traits.
  2. Create an instance of the Module structure specialized for VTab impl. from step 1.
  3. Register your Module structure using Connection.create_module.
  4. Run a CREATE VIRTUAL TABLE command that specifies the new module in the USING clause.

(See SQLite doc)

Structs

Context

feature = "vtab" Context is used by VTabCursor.column to specify the cell value.

IndexConstraint

feature = "vtab" WHERE clause constraint.

IndexConstraintIter

feature = "vtab"

IndexConstraintUsage

feature = "vtab" Information about what parameters to pass to VTabCursor.filter.

IndexInfo

feature = "vtab" Pass information into and receive the reply from the VTab.best_index method.

Module

feature = "vtab" Virtual table module

OrderBy

feature = "vtab" A column of the ORDER BY clause.

OrderByIter

feature = "vtab"

VTabConnection

feature = "vtab"

ValueIter
Values

feature = "vtab" Wrapper to VTabCursor.filter arguments, the values requested by VTab.best_index.

sqlite3_vtab
sqlite3_vtab_cursor

Enums

IndexConstraintOp

feature = "vtab" Index constraint operator.

Traits

CreateVTab

feature = "vtab" Non-eponymous virtual table instance trait.

VTab

feature = "vtab" Virtual table instance trait.

VTabCursor

feature = "vtab" Virtual table cursor trait.

Functions

dequote

feature = "vtab" Dequote string

eponymous_only_module

feature = "vtab" Create an eponymous only virtual table implementation.

escape_double_quote

feature = "vtab" Escape double-quote (") character occurences by doubling them ("").

parse_boolean

feature = "vtab" The boolean can be one of:

read_only_module

feature = "vtab" Create a read-only virtual table implementation.