https://github.com/reimunotmoe/pqpp
A simple and easy-to-use async C++ PostgreSQL client library.
https://github.com/reimunotmoe/pqpp
boost-asio coroutine cpp postgresql
Last synced: about 1 year ago
JSON representation
A simple and easy-to-use async C++ PostgreSQL client library.
- Host: GitHub
- URL: https://github.com/reimunotmoe/pqpp
- Owner: ReimuNotMoe
- License: mit
- Archived: true
- Created: 2019-06-26T23:33:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-06T19:17:54.000Z (over 6 years ago)
- Last Synced: 2025-02-13T14:31:16.572Z (about 1 year ago)
- Topics: boost-asio, coroutine, cpp, postgresql
- Language: C++
- Size: 14.6 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pqpp
A simple and easy-to-use async C++ PostgreSQL client library.
## Features
- Easy to use
- No templates and complicated data structures
- The usage is almost identical with nodejs's [pg](https://node-postgres.com/)
## Usage
See [demo.cpp](https://github.com/ReimuNotMoe/pqpp/blob/master/demo.cpp)
## Caveats
The project is in alpha & WIP state. It's not recommended to use in production environments.
## Build
### Dependencies
- C++17 compatible compiler and runtime
- libpg
- OpenSSL
- boost_system
- boost_coroutine
### Compile
Nearly all my projects use CMake. It's very simple:
mkdir build
cd build
cmake ..
make -j `nproc`