Simple ORM for Qt
Features
- Adding, removing, selection, editing objects;
- Conditions;
- Search options;
- Aggregate functions;
- Relations one-to-one and one-to-many;
- Solution to N + 1 queries problem;
- Tested on MySQL, SQLite, PostgreSQL;
- Generate SQL schema from source code by ormtool;
- Simple and comfortable using;
- Doxygen-based documentation (English)
- Unit tests.
How to build documentation:
- Install doxygen
- Clone repository
- Run next commands
cd path-to-repository/docs
doxygen Doxyfile
How to add library to the project
- Compile library
- Add next string to your .pro file:
LIBS += -Lpath-to-compiled-library -lORM