[−][src]Module rusqlite::vtab
Create virtual tables.
Follow these steps to create your own virtual table:
- Write implemenation of
VTab
andVTabCursor
traits. - Create an instance of the
Module
structure specialized forVTab
impl. from step 1. - Register your
Module
structure usingConnection.create_module
. - Run a
CREATE VIRTUAL TABLE
command that specifies the new module in theUSING
clause.
(See SQLite doc)
Structs
Context | Context is used by |
IndexConstraint | WHERE clause constraint |
IndexConstraintIter | |
IndexConstraintOp | Index constraint operator. |
IndexConstraintUsage | Information about what parameters to pass to |
IndexInfo | Pass information into and receive the reply from the |
Module | Virtual table module |
OrderBy | A column of the ORDER BY clause. |
OrderByIter | |
VTabConnection | |
ValueIter | |
Values | Wrapper to |
sqlite3_vtab | |
sqlite3_vtab_cursor |
Traits
CreateVTab | Non-eponymous virtual table instance trait. |
VTab | Virtual table instance trait. |
VTabCursor | Virtual table cursor trait. |
Functions
dequote | Dequote string |
eponymous_only_module | Create an eponymous only virtual table implementation. |
escape_double_quote | Escape double-quote ( |
parse_boolean | The boolean can be one of: |
read_only_module | Create a read-only virtual table implementation. |