|
Lightweight 0.20261105.1
|
The SQL catalog of SQLite (SqlCatalogQueries), over sqlite_schema and the table-valued pragmas.
More...
Variables | |
| constexpr auto | DefaultSchema = std::string_view { "main" } |
The schema read when none is named: main, so that a temporary table shadows no table of it. | |
| constexpr auto | Tables |
| constexpr auto | TablesLike |
| As Tables, narrowed to the names matching a LIKE pattern (case-insensitive, as SQLite's LIKE is). | |
| constexpr auto | SchemaNamed |
| constexpr auto | SearchPatternEscape = std::string_view { "\\" } |
| The escape character of TablesLike's pattern. | |
| constexpr auto | Columns |
| The columns of a table, without generated columns (hidden <> 0). | |
| constexpr auto | Statistics |
| constexpr auto | UniqueStatistics |
| As Statistics, unique indexes only. | |
| constexpr auto | ForeignKeysTo |
| constexpr auto | PrimaryKeyColumns |
The columns of a table with their position in its primary key, as PRAGMA table_info lists them. | |
| constexpr auto | OutgoingForeignKeys |
The foreign keys of a table, as PRAGMA foreign_key_list lists them. | |
| constexpr auto | Queries |
| The whole SQL catalog. | |
The SQL catalog of SQLite (SqlCatalogQueries), over sqlite_schema and the table-valued pragmas.
|
inlineconstexpr |
The schema read when none is named: main, so that a temporary table shadows no table of it.
Definition at line 28 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The tables of the schema's sqlite_schema (its own internal tables included, as the SQLite ODBC driver lists them; views not), in the order they were created.
Definition at line 32 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
As Tables, narrowed to the names matching a LIKE pattern (case-insensitive, as SQLite's LIKE is).
Definition at line 37 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The schema of a name (case-insensitively) when the connection has one: main, temp or an attached database's.
Definition at line 43 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The escape character of TablesLike's pattern.
Definition at line 49 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The columns of a table, without generated columns (hidden <> 0).
Definition at line 52 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The columns of every index of a table, in SQLStatistics' layout; an expression's COLUMN_NAME is NULL. A table whose primary key is its rowid (an INTEGER PRIMARY KEY) has no index for it: its key is listed as the unique index sqlite_autoindex_0, the name the SQLite ODBC driver gives it (no user index can have it).
Definition at line 60 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
As Statistics, unique indexes only.
Definition at line 71 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The foreign keys of every table that reference one table, in SQLForeignKeys' layout. A constraint without a column list references the primary key of its table; its UPDATE_RULE and DELETE_RULE are ODBC's codes of the actions (CASCADE 0, RESTRICT 1, SET NULL 2, NO ACTION 3, SET DEFAULT 4), DEFERRABILITY "not deferrable" (7).
Definition at line 85 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The columns of a table with their position in its primary key, as PRAGMA table_info lists them.
Definition at line 100 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The foreign keys of a table, as PRAGMA foreign_key_list lists them.
Definition at line 104 of file SQLiteFormatter.hpp.
|
inlineconstexpr |
The whole SQL catalog.
Definition at line 109 of file SQLiteFormatter.hpp.