TinyORM v0.31.0
Also bumped to TinyUtils v0.3.1.
- added ModelsCollection 🔥🚀🎉
- added Models and ModelsCollection serialization using toMap(), toVector(), and toJson() methods 🪡🔥❤️ (also supports pivot models)
- changed container type for getOperators() to std::unordered_set
- changed the paging type to qint64 for paging-related methods like limit(), offset(), chunk(), take(), ...
- added eagerLoadRelations<Model *>() and eagerLoadRelations(Model &) overloads
- added Model getKeyCasted and getAttribute overloads
- bugfix zero-initialized related models in belongs-to relations
- bugfix select constraints and belongs-to-many
Internal
- extracted relation stores to own files
Full Changelog: v0.30.3...v0.31.0