C API: Extract Metadata About A Column Of A Table
(c3ref/table_column_metadata.html)
sqlite3_table_column_metadata()
The sqlite3_table_column_metadata(X,D,T,C,....) routine returns
information about column C of table T in database D
on database connection X. The sqlite3_table_column_metadata()
interface returns SQLITE_OK and fills in the non-NULL pointers in
the final five arguments with ...
|
C API: Virtual Table Configuration Options
(c3ref/c_vtab_constraint_support.html)
SQLITE_VTAB_CONSTRAINT_SUPPORT, SQLITE_VTAB_INNOCUOUS, SQLITE_VTAB_DIRECTONLY, SQLITE_VTAB_USES_ALL_SCHEMAS
These macros define the various options to the
sqlite3_vtab_config() interface that virtual table implementations
can use to customize and optimize their behavior.
SQLITE_VTAB_CONSTRAINT_SUPPORT
Calls of the form
sqlite3_vtab_config(db,SQLITE_VTAB_CONSTRAINT_SUPPORT,X) are supported,
where X is an integer. If X ...
|
The CSV Virtual Table
(csv.html)
1. Overview
The CSV virtual table reads
RFC 4180 formatted comma-separated
values, and returns that content as if it were rows and columns of an SQL
table.
The CSV virtual table is useful to applications that need to bulk-load
large ...
|
The COMPLETION() Table-Valued Function
(completion.html)
1. Overview
The COMPLETION extension implements a table-valued function named
"completion" that can be used to suggest completions of partially entered
words during interactive SQL input. The completion table can be
used to help implement tab-completion, for example.
|
C API: Virtual Table Constraint Operator Codes
(c3ref/c_index_constraint_eq.html)
SQLITE_INDEX_CONSTRAINT_EQ, SQLITE_INDEX_CONSTRAINT_GT, SQLITE_INDEX_CONSTRAINT_LE, SQLITE_INDEX_CONSTRAINT_LT, SQLITE_INDEX_CONSTRAINT_GE, SQLITE_INDEX_CONSTRAINT_MATCH ...
... Each value represents
an operator that is part of a constraint term in the WHERE clause of
a query that uses a virtual table.
The left-hand operand of the operator is given by the corresponding
aConstraint[].iColumn field. An ...
|
The SQLITE_DBPAGE Virtual Table
(dbpage.html)
1. Overview
The SQLITE_DBPAGE extension implements an eponymous-only virtual table that
provides direct access to the underlying database file by interacting
with the pager. SQLITE_DBPAGE is capable of both reading and writing any
page of the database. Because interaction is through ...
|
The Bytecode() And Tables_Used() Table-Valued Functions
(bytecodevtab.html)
1. Overview
Bytecode and tables_used are virtual tables built into SQLite that
access information about prepared statements.
Both bytecode and tables_used operate as table-valued functions.
They take a single required argument which is either the text of
an SQL statement, or ...
|
The SQLITE_MEMSTAT Virtual Table
(memstat.html)
1. Overview
The SQLITE_MEMSTAT extension implements an eponymous-only virtual table that
provides SQL access to the sqlite3_status64() and
sqlite3_db_status() interfaces.
The SQLITE_STMT extension can also be loaded at run-time
by compiling the extension into a shared library or DLL using ...
|
ALTER TABLE
(lang_altertable.html)
... Create new table
Copy data
Drop old table
Rename new into old
Rename old table
Create new table
Copy data
Drop old table
↑Correct
↑Incorrect
The 12-step generalized ALTER TABLE procedure
above will work even if the ...
|
C API: Determine if a virtual table query is DISTINCT
(c3ref/vtab_distinct.html)
sqlite3_vtab_distinct()
This API may only be used from within an xBestIndex method
of a virtual table implementation. The result of calling this
interface from outside of xBestIndex() is undefined and probably harmful.
The sqlite3_vtab_distinct() interface returns an integer between 0 and ...
|
Page generated by FTS5 in about 169.46 ms.