Registry / database / nanodbc

nanodbc

JSON →
library2.13.0vcpkgunverified

A small C++ wrapper for the native C ODBC API.

vcpkg install nanodbc
INSTALL
IMPORT
SIG · NANODBC
N
nanodbc
databasecppv2.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nanodbc/nanodbc.h
#include <nanodbc/nanodbc.h>

Connect to a database using ODBC DSN.

#include <nanodbc/nanodbc.h> #include <iostream> int main() { try { nanodbc::connection conn("DSN=my_dsn"); std::cout << "Connected!" << std::endl; } catch (const std::exception& e) { std::cerr << e.what() << std::endl; } return 0; }
Debug
Known issues
gotchaRequires ODBC driver manager and driver to be installed on the system.
fix
Install unixODBC (Linux/macOS) or use Windows ODBC Data Source Administrator.
affects: *
Upgrade
Version history
2.13.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

nanodbc — pip install nanodbc · libregistry