Module rusqlite::vtab[][src]

This is supported on crate feature vtab only.
Expand description

Create virtual tables.

Follow these steps to create your own virtual table:

  1. Write implementation 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)

Modules

arrayarray

Array Virtual Table.

Structs

Context is used by VTabCursor::column to specify the cell value.

WHERE clause constraint.

Iterate on index constraint and its associated usage.

feature = "vtab"

Information about what parameters to pass to VTabCursor::filter.

Pass information into and receive the reply from the VTab::best_index method.

Virtual table module

A column of the ORDER BY clause.

feature = "vtab"

feature = "vtab"

Values iterator.

Wrapper to VTabCursor::filter arguments, the values requested by VTab::best_index.

Enums

Index constraint operator. See Virtual Table Constraint Operator Codes for details.

Traits

Non-eponymous virtual table instance trait.

Virtual table instance trait.

Virtual table cursor trait.

Functions

Dequote string

Create an eponymous only virtual table implementation.

Escape double-quote (") character occurrences by doubling them ("").

The boolean can be one of:

Create a read-only virtual table implementation.