I completely revisited QTime, practically everything was touched as
prepared bindings, result sets, serialization, appends, casting.
- added many new QTime related tests
- added a new columns to migrations
- updated seeder
- added a new u_timeFormat data member for models
- updated docs about u_timeFormat
Extracted all the needed using aliases to the base Model class, it helps
to avoid declaring these using-s in the Derived models.
- updated documentation, removed all useless using-s
The Model::u_dateFormat now also accepts 'U' for unix timestamps.
The database column type should be qint64 or int.
- added extensive unit tests also for null values, for getAttribute()
and also for setAttribute()
- updated migrations, added a new added_on unix timestamp column
to the Role model
- updated database seeders
- updated docs
In addition to actually removing records from your database, TinyORM
can also "soft delete" models. When models are soft deleted, they are
not actually removed from your database. Instead, a deleted_at attribute
is set on the model indicating the date and time at which the model was
"deleted".
- added docs
- added all proxies
- added complete functional tests and a few unit tests
- carefully verified all possible scenarios because it changes
practically all queries 🤯
Others:
- also added from() to all proxies
- bugfix in seeders, bad ID in the PostgreSQL primary key (sequence)
It allows comparing a related model without issuing a query to retrieve
that model.
- added functional tests for both HasOne and also BelongsTo relations
- added docs
Others:
- added the new unit test case tst_Relations_Connection_Independent