silverqx
75a6596229
docs qmake Auto-configure and Environment files
...
- added docs for Auto-configure (tiny_autoconf) and Environment files
(tiny_dotenv)
- completely revisited qmake-related docs
- revisited building docs except CMake builds
- many small fixes
2023-08-19 13:09:08 +02:00
silverqx
d6add2c325
docs updated MySQL documentation links to 8.1
2023-08-05 18:43:50 +02:00
silverqx
d98ee5c6c5
docs fixtypo and revisited section
...
[skip ci]
2023-07-25 08:44:04 +02:00
silverqx
6595fa043f
docs fixtypo
...
[skip ci]
2023-07-19 19:52:09 +02:00
silverqx
fdd42aad4c
added using aliases to the Model class
...
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
2023-07-18 13:57:43 +02:00
silverqx
39879901c8
updated comment
2023-07-17 20:02:36 +02:00
silverqx
adbfa4cea7
docs unified snake_case and camelCase
2023-07-15 15:22:33 +02:00
silverqx
8ca7813a4a
docs fixtypo C++
2023-07-15 14:14:41 +02:00
silverqx
8548509305
docs removed useless heading IDs
2023-07-15 14:06:48 +02:00
silverqx
fe0c6547e0
docs bugfix and updated heading IDs
2023-07-15 14:06:42 +02:00
silverqx
c21732f005
docs added Hiding, Appending attributes
...
- also added docs for Accessors
2023-07-15 13:12:22 +02:00
silverqx
c4a93ca64a
docs updates Casts with serialization
...
Described a new CastType::CustomQDate and CastType::CustomQDateTime cast
types.
2023-06-29 13:41:59 +02:00
silverqx
de9cc281a9
changed defaults to Compact for toJson()
...
Changed from QJsonDocument::Indented to Compact.
- updated docs
2023-06-25 16:42:43 +02:00
silverqx
7014690529
docs added serialization 🪡 🤓
...
- updated features summary
- added to all navigation lists
2023-06-25 09:57:09 +02:00
silverqx
352041968a
docs fixtypo
2023-06-25 09:55:39 +02:00
silverqx
a1d2c44c34
docs added external link
2023-06-24 20:05:48 +02:00
silverqx
6bb85fae76
docs added missing collection methods
...
Added documentation for all, toBase, toJson, toJsonArray,
toJsonDocument, toMap, toMapVariantList, toVector, and
toVectorVariantList.
2023-06-24 19:58:26 +02:00
silverqx
bc65688714
docs updated ModelsCollection::tap example
2023-06-01 15:18:07 +02:00
silverqx
5f44b52875
added Orm::collect<Model>
...
This method creates a ModelsCollection using the given attributes, it
internally calls the Models::instance() method.
The Orm::collect<Model> function is mandatory if the given attributes
contain the QDateTime instance.
- updated tests used everywhere
- updated docs
2023-06-01 14:39:14 +02:00
silverqx
b7dd2e5811
docs fixtypo
2023-06-01 14:35:37 +02:00
silverqx
5f7375a29b
bugfix crash with SoftDeletes and CRTP
2023-06-01 11:23:03 +02:00
silverqx
48c0f6fc02
added sortBy() sort by multiple columns overload
...
- added unit tests
- updated docs
2023-05-31 17:26:40 +02:00
silverqx
d7952e2a1b
added const to filter, reject, doesnt/constains
...
Added const to callbacks where appropriate.
- updated unit tests
- updated disc
2023-05-31 10:10:01 +02:00
silverqx
7ec8887b57
added ModelsCollection::unique/uniqueBy
...
- added unit tests
- updated docs
2023-05-30 16:38:48 +02:00
silverqx
acfaead435
added ModelsCollection::sort/sortBy
...
- also added stableSort() and stableSortBy()
- added the descending variants for all above methods
- added Model three way comparison operator for comparing/sorting
models by the primary key
- added unit tests
- updated docs
2023-05-30 11:48:21 +02:00
silverqx
8bb8e090b9
added ModelsCollection::fresh()
...
- added unit tests
2023-05-28 15:35:55 +02:00
silverqx
6d52565329
docs fixtypo
2023-05-28 15:34:24 +02:00
silverqx
4eb468f4d3
bugfix ModelsCollection::map() return type
...
- updated docs
2023-05-28 10:44:06 +02:00
silverqx
db84428b5e
docs used new with() and load() overloads
2023-05-28 08:44:37 +02:00
silverqx
ef71215afd
added pluck overload
...
- added unit tests
- updated docs
2023-05-28 08:25:30 +02:00
silverqx
c837293de1
docs added ModelsCollection ✨ 💎
2023-05-27 17:49:26 +02:00
silverqx
023d27e2de
docs used getAttribute<>
2023-05-27 09:54:55 +02:00
silverqx
e40de0a58c
docs whitespaces
2023-05-27 09:54:25 +02:00
silverqx
f80c93f2ec
docs removed useless #include model.hpp
2023-05-20 19:31:01 +02:00
silverqx
9bccda590e
changed Model timestamps to getter methods
...
Changed from static data members to static getter methods to avoid Clang
crashed because of static initialization order.
- updated docs
2023-04-02 11:07:17 +02:00
silverqx
d01b7ef9d8
docs used QString::fromUtf8(__func__)
...
Used the QString::fromUtf8(__func__) instead of the static_cast<>.
2023-02-14 21:04:39 +01:00
silverqx
e7f845a6cd
docs unified links to Qt's documentation
...
Used the /qt/ instead of specific versions, eg. /qt-5/xyz.
2023-01-27 14:23:21 +01:00
silverqx
fdb1c4c164
docs QLatin1Char
2022-11-12 03:37:33 +01:00
silverqx
b7958d2f01
docs added note about primary key auto cast
2022-11-11 12:36:27 +01:00
silverqx
7c40595850
docs fixtypo in URL hash
2022-11-11 10:00:57 +01:00
silverqx
34999d0621
docs added TinyORM: Casts
2022-11-11 09:54:54 +01:00
silverqx
c3281836bb
docs whitespaces
2022-11-11 09:54:09 +01:00
silverqx
5089a89b82
docs bugfix library include
2022-11-11 09:50:20 +01:00
silverqx
2f2d3e865a
docs add Model::only
2022-11-08 13:51:02 +01:00
silverqx
035b4dfeb8
docs described Model ctor and QDateTime problem
2022-11-08 13:42:52 +01:00
silverqx
c650aacc51
docs used currentDateTimeUtc()
2022-11-08 13:42:34 +01:00
silverqx
b9c7761535
docs added paragraph about u_dates
...
[skip ci]
2022-09-02 07:48:13 +02:00
silverqx
bbdee2e7d8
docs note about u_xyz data member on Custom Pivots
...
[skip ci]
2022-09-01 17:11:09 +02:00
silverqx
9aae5549ac
docs added SoftDeletes caution
...
[skip ci]
2022-08-31 20:33:29 +02:00
silverqx
46808b1005
added unix timestamps support
...
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
2022-08-30 10:26:40 +02:00