Registry / database / oatpp-postgresql

oatpp-postgresql

JSON →
library1.3.0vcpkgunverified

Oat++ PostgreSQL adapter for Oat++ ORM (alpha - not all datatypes are supported).

vcpkg install oatpp-postgresql
INSTALL
IMPORT
SIG · OATPP-POSTGRESQL
O
oatpp-postgresql
databasecppv1.3.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.

oatpp-postgresql/ConnectionProvider.hpp
#include <oatpp-postgresql/ConnectionProvider.hpp>

Create a PostgreSQL connection using Oat++ ORM adapter.

#include "oatpp-postgresql/ConnectionProvider.hpp" #include <iostream> int main() { auto connectionProvider = std::make_shared<oatpp::postgresql::ConnectionProvider>("postgresql://localhost:5432/mydb"); auto connection = connectionProvider->getConnection(); std::cout << "Connected to PostgreSQL" << std::endl; return 0; }
Debug
Known issues
gotchaThis module is in alpha stage; not all PostgreSQL data types are supported.
fix
Check the documentation for supported types and consider using raw SQL for unsupported types.
affects: all
Upgrade
Version history
1.3.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
1
Resources

No resource links recorded.

oatpp-postgresql — pip install oatpp-postgresql · libregistry