mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-07 19:40:03 -06:00
68446e35306a7a115e9eece7d42d1d170367b33e
- 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
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:
Languages
C++
92%
CMake
3.4%
PowerShell
2.6%
QMake
1.1%
Shell
0.4%
Other
0.5%