6#include "../../Api.hpp"
7#include "../../SqlBindingTypes.hpp"
8#include "../../SqlError.hpp"
9#include "../Concept.hpp"
11#include "SqlOdbcPrelude.hpp"
32namespace Lightweight::Driver::Odbc
120[[nodiscard]] LIGHTWEIGHT_API std::expected<std::string, SqlErrorInfo> SearchPatternEscape(
Connection const& connection);
LIGHTWEIGHT_API SqlResult OpenStatisticsCatalog(Statement const &stmt, CatalogObjectName const &table, bool uniqueOnly, bool wideText)
Opens the SQLStatistics result set of the indexes of table, with SQL_ENSURE.
LIGHTWEIGHT_API SqlResult OpenForeignKeysCatalog(Statement const &stmt, CatalogObjectName const &primaryKeyTable, CatalogObjectName const &foreignKeyTable, bool wideText)
Opens the SQLForeignKeys result set of the foreign keys between the primary-key table and the foreign...
LIGHTWEIGHT_API SqlResult OpenTablesCatalog(Statement const &stmt, CatalogObjectName const &tables, bool wideText)
Opens the SQLTables result set of the tables of tables' catalog and schema, narrowed to its name sear...
LIGHTWEIGHT_API SqlResult OpenPrimaryKeysCatalog(Statement const &stmt, CatalogObjectName const &table, bool wideText)
Opens the SQLPrimaryKeys result set of table.
LIGHTWEIGHT_API SqlResult OpenColumnsCatalog(Statement const &stmt, CatalogObjectName const &table, bool wideText)
Opens the SQLColumns result set of every column of table (no column name: null pointer,...
SqlResult OpenCatalog(StatementHandle const &statement, SqlCatalogRequest const &request)
Opens the catalog result set request names on statement, in the layout the ODBC specification gives t...
The three-part name of a catalog object (a table, or a search pattern for tables),...
std::string_view name
The object name or search pattern; what an empty one means is documented per function.
std::string_view schema
The schema name; empty for none.
std::string_view catalog
The catalog (database) name; empty for none.
The ODBC driver's connection handle struct.
The ODBC driver's statement handle struct.
What a catalog call asks for: the ODBC catalog function and its arguments, in driver-neutral terms.