|
Lightweight 0.20261105.1
|
What a catalog call asks for: the ODBC catalog function and its arguments, in driver-neutral terms. More...
#include <Concept.hpp>
Public Types | |
| enum class | Kind : std::uint8_t { Tables , Columns , PrimaryKeys , ForeignKeys , Statistics } |
| The catalog function. More... | |
Public Attributes | |
| Kind | kind = Kind::Tables |
| The catalog function to open. | |
| std::string_view | catalog |
The catalog (database) name; empty for none. For ForeignKeys: of the primary-key table. | |
| std::string_view | schema |
| std::string_view | table |
| std::string_view | foreignCatalog |
ForeignKeys only: the catalog name of the foreign-key table; empty for none. | |
| std::string_view | foreignSchema |
ForeignKeys only: the schema name of the foreign-key table; empty for none. | |
| std::string_view | foreignTable |
ForeignKeys only: the name of the foreign-key table; empty for any. | |
| bool | uniqueOnly = false |
Statistics only: whether to report the unique indexes only. | |
| bool | wideText = false |
What a catalog call asks for: the ODBC catalog function and its arguments, in driver-neutral terms.
The result set a driver opens for it has the layout the ODBC specification gives that catalog function; a driver without catalog functions (HasCatalogFunctions is false) opens none and fails the call (see OpenCatalog).
Definition at line 135 of file Concept.hpp.
|
strong |
The catalog function.
Definition at line 138 of file Concept.hpp.
| Kind Lightweight::Driver::SqlCatalogRequest::kind = Kind::Tables |
The catalog function to open.
Definition at line 148 of file Concept.hpp.
| std::string_view Lightweight::Driver::SqlCatalogRequest::catalog |
The catalog (database) name; empty for none. For ForeignKeys: of the primary-key table.
Definition at line 150 of file Concept.hpp.
| std::string_view Lightweight::Driver::SqlCatalogRequest::schema |
The schema name, or for Tables and Columns a search pattern; empty for none. For ForeignKeys: of the primary-key table.
Definition at line 153 of file Concept.hpp.
| std::string_view Lightweight::Driver::SqlCatalogRequest::table |
The table name, or for Tables and Columns a search pattern; empty for all tables (Tables) or for an open side (ForeignKeys). For ForeignKeys: the primary-key table.
Definition at line 156 of file Concept.hpp.
| std::string_view Lightweight::Driver::SqlCatalogRequest::foreignCatalog |
ForeignKeys only: the catalog name of the foreign-key table; empty for none.
Definition at line 158 of file Concept.hpp.
| std::string_view Lightweight::Driver::SqlCatalogRequest::foreignSchema |
ForeignKeys only: the schema name of the foreign-key table; empty for none.
Definition at line 160 of file Concept.hpp.
| std::string_view Lightweight::Driver::SqlCatalogRequest::foreignTable |
ForeignKeys only: the name of the foreign-key table; empty for any.
Definition at line 162 of file Concept.hpp.
| bool Lightweight::Driver::SqlCatalogRequest::uniqueOnly = false |
Statistics only: whether to report the unique indexes only.
Definition at line 164 of file Concept.hpp.
| bool Lightweight::Driver::SqlCatalogRequest::wideText = false |
Whether the driver is to receive the text as UTF-16 (see SqlConnection::AcceptsWideQueryText()); a driver taking UTF-8 only ignores it.
Definition at line 167 of file Concept.hpp.