|
Lightweight 0.20261105.1
|
The ODBC driver: names its handle structs and its driver id. More...
#include <Handles.hpp>
Public Types | |
| using | Statement = Odbc::Statement |
| The statement handle struct. | |
| using | Connection = Odbc::Connection |
| The connection handle struct. | |
Static Public Attributes | |
| static constexpr SqlDriverId | Id = SqlDriverId::Odbc |
| The id the tagged handles carry for this driver. | |
| static constexpr std::string_view | Name = "ODBC" |
| The driver's name, as error messages show it. | |
| static constexpr bool | SupportsParameterArrays = true |
Parameter arrays (SQL_ATTR_PARAMSET_SIZE > 1) execute a whole batch in one SQLExecute. | |
| static constexpr bool | SupportsRowArrayFetch = true |
Row arrays (SQL_ATTR_ROW_ARRAY_SIZE > 1 with SQLFetchScroll) fetch a block of rows per call. | |
| static constexpr bool | StatementsDieWithConnection = true |
| static constexpr bool | TranscodesNarrowText = true |
| static constexpr bool | HasCatalogFunctions = true |
The catalog is read with the ODBC catalog functions (SQLTables, SQLColumns, SQLStatistics, ...). | |
The ODBC driver: names its handle structs and its driver id.
Definition at line 65 of file Handles.hpp.
The statement handle struct.
Definition at line 68 of file Handles.hpp.
The connection handle struct.
Definition at line 71 of file Handles.hpp.
|
staticconstexpr |
The id the tagged handles carry for this driver.
Definition at line 74 of file Handles.hpp.
|
staticconstexpr |
The driver's name, as error messages show it.
Definition at line 77 of file Handles.hpp.
|
staticconstexpr |
Parameter arrays (SQL_ATTR_PARAMSET_SIZE > 1) execute a whole batch in one SQLExecute.
Definition at line 80 of file Handles.hpp.
|
staticconstexpr |
Row arrays (SQL_ATTR_ROW_ARRAY_SIZE > 1 with SQLFetchScroll) fetch a block of rows per call.
Definition at line 83 of file Handles.hpp.
|
staticconstexpr |
Whether closing a connection destroys its statement handles, so that they must not be freed afterwards. True for ODBC: SQLFreeHandle on the connection frees the statements allocated on it.
Definition at line 87 of file Handles.hpp.
|
staticconstexpr |
Narrow (SQL_C_CHAR) text may be transcoded through the client codepage (psqlODBC does), so whether it round-trips byte-exact depends on the backend.
Definition at line 91 of file Handles.hpp.
|
staticconstexpr |
The catalog is read with the ODBC catalog functions (SQLTables, SQLColumns, SQLStatistics, ...).
Definition at line 94 of file Handles.hpp.