this commit contains few bigger changes:
- added push method
- unified relationVisitor() for models
- added relation store for nicer api for end users
- getRelation()/getRelationValue() return pointers to models, which
points directly to relationships data member, so user can directly
modify this models and push/save afterward
- relation ctors take related instance as first parameter instead of
TinyBuilder of related model
-
firstOrNew, firstOrCreate, find, firstWhere, firstWhereEq
Following methods was needed to implement for above methods:
where, whereEq and where(QVector<WhereItem> &)
Corresponding methods also added to Tiny/QueryBuilder.