silverqx 68446e3530 added SQLite database support 🔥🚀
- all tests are ran against SQLite test database too 🎉🔥
 - removed default models connection for tests, because I'm testing
   models for all database connections and the connection is controlled
   by global test data, so every test is ran against all the
   supported databases
 - added test code controlled by TINYORM_TESTS_CODE preprocessor macro,
   which enables connection override in the BaseModel
 - build tests only when the "CONFIG += build_tests" was added to the
   qmake command

added php script to create databases

 - script creates MySQL and SQLite databases
 - script populate this databases with test data
 - connection credentials are provided through the DB_ env. variables

other changes

 - added api to enable statement counters for the given connections
 - added BaseModel::truncate test
2021-03-26 18:49:50 +01:00
2021-03-26 18:49:50 +01:00
2021-03-26 18:49:50 +01:00
2021-03-26 18:49:50 +01:00
2021-03-26 18:49:50 +01:00
2021-03-26 17:58:14 +01:00
2021-03-26 17:58:14 +01:00
2021-03-26 18:49:50 +01:00
2021-03-26 17:58:59 +01:00
2021-03-26 17:58:14 +01:00
2021-03-26 18:49:50 +01:00
2021-03-26 18:07:19 +01:00
2021-03-26 18:49:50 +01:00

TinyORM

TinyORM is a modern ORM library heavily inspired by Laravel's Eloquent ORM that makes interacting with a database extremely simple.

Documentation

Whole library is documented as markdown documents:

Description
Modern C++ ORM library
Readme MIT 38 MiB
Languages
C++ 92%
CMake 3.4%
PowerShell 2.6%
QMake 1.1%
Shell 0.4%
Other 0.5%