|
Lightweight 0.20261105.1
|
The native SQLite3 driver: names its handle structs, its driver id and its capabilities. More...
#include <Handles.hpp>
Public Types | |
| using | Statement = Sqlite3::Statement |
| The statement handle struct. | |
| using | Connection = Sqlite3::Connection |
| The connection handle struct. | |
Static Public Attributes | |
| static constexpr SqlDriverId | Id = SqlDriverId::Sqlite3 |
| The id the tagged handles carry for this driver. | |
| static constexpr std::string_view | Name = "SQLite3" |
| static constexpr bool | SupportsParameterArrays = false |
| SQLite executes one parameter set per step; a batch is a loop over rows, not one native call. | |
| static constexpr bool | SupportsRowArrayFetch = false |
| SQLite steps one row at a time; there is no block fetch into array-bound columns. | |
| static constexpr bool | StatementsDieWithConnection = false |
| static constexpr bool | TranscodesNarrowText = false |
| Narrow text is passed to and from SQLite as UTF-8, byte-exact; there is no client codepage. | |
| static constexpr bool | HasCatalogFunctions = false |
| SQLite has no catalog functions: SqlSchema reads the catalog with the SQL of the SQLite formatter. | |
The native SQLite3 driver: names its handle structs, its driver id and its capabilities.
Definition at line 57 of file Handles.hpp.
The statement handle struct.
Definition at line 60 of file Handles.hpp.
The connection handle struct.
Definition at line 63 of file Handles.hpp.
|
staticconstexpr |
The id the tagged handles carry for this driver.
Definition at line 66 of file Handles.hpp.
|
staticconstexpr |
The driver's name, as error messages show it (IM001 "... is not supported by the SQLite3 driver") and Driver::NameOf reports it: the kind of driver, beside "ODBC". Not what SqlConnection::DriverName() reports: that names the driver a connection runs on — for ODBC the driver library the driver manager loaded, for this driver the fixed "sqlite3-native" (see Driver::Sqlite3::DriverName).
Definition at line 72 of file Handles.hpp.
|
staticconstexpr |
SQLite executes one parameter set per step; a batch is a loop over rows, not one native call.
Definition at line 75 of file Handles.hpp.
|
staticconstexpr |
SQLite steps one row at a time; there is no block fetch into array-bound columns.
Definition at line 78 of file Handles.hpp.
|
staticconstexpr |
Whether closing a connection destroys its statement handles, so that they must not be freed afterwards. False: a statement's state outlives its connection, orphaned, until the statement is freed.
Definition at line 82 of file Handles.hpp.
|
staticconstexpr |
Narrow text is passed to and from SQLite as UTF-8, byte-exact; there is no client codepage.
Definition at line 85 of file Handles.hpp.
|
staticconstexpr |
SQLite has no catalog functions: SqlSchema reads the catalog with the SQL of the SQLite formatter.
Definition at line 88 of file Handles.hpp.