|1 year ago|
|examples||1 year ago|
|include/de/mbober/db||1 year ago|
|.gitignore||1 year ago|
|CMakeLists.txt||1 year ago|
|Readme.md||1 year ago|
This library shall provide an ActiveRecord-like way to access different databases from C++.
Currently, there is a (relatively) untested [MySQL implementation].
Some major features that are still missing:
This is a header-only library so just go ahead and add
include to your project's include path.
At least g++-10 is needed for this library. Here is how to get it working on Ubuntu 20.04 LTS.
For how to write code with this library see /examples.
When building for MySQL, make sure that you link using
-lmysqlcppconn and have the MySQL Connector/C++ header in your include path. Installing the
libmysqlcppconn-dev package should do the trick.