Skip to content

TinyORM v0.31.0

Compare
Choose a tag to compare
@silverqx silverqx released this 21 Sep 16:21
· 2168 commits to main since this release
v0.31.0
e445713

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