README.md 660 Bytes
Newer Older
artificiel's avatar
artificiel committed
1
2
3
ofxPostgresSQL
==============

alexandre burton's avatar
alexandre burton committed
4
Wrapper for PQXX. Needs to link to libpqxx.
artificiel's avatar
artificiel committed
5

alexandre burton's avatar
alexandre burton committed
6
7
8
9
"Works for us" -- meaning the tested use cases are limited. Basic SELECT and INSERT work for us with a server on the LAN. Basic exception handling is provided. 

Example shows how to use in conjunction with std::async responding to an ofxButton to gracefully handle background download and completion "notification" harnessing the update() loop.

alexandre burton's avatar
alexandre burton committed
10
11
12
13
Tested with:

 - arch linux + qtcreator: 
     - $ sudo pacman -S libpqxx 
alexandre burton's avatar
alexandre burton committed
14
     - in .qbs: add: 'libpqxx' to of.pkgConfigs
alexandre burton's avatar
alexandre burton committed
15
16
17
     - 
 - macos + Makefile
     - $ brew install libpqxx
alexandre burton's avatar
alexandre burton committed
18
     - in confifg.make: add: PROJECT_LDFLAGS+=-lpqxx
alexandre burton's avatar
alexandre burton committed
19

alexandre burton's avatar
alexandre burton committed
20