silverqx
3dc3cc0281
docs fixtypo
2023-05-26 14:36:47 +02:00
silverqx
837d9d17df
updated NOTES.txt
...
[skip ci]
2023-05-26 14:36:12 +02:00
silverqx
8e99ba9be7
updated NOTES.txt
2023-05-24 14:53:02 +02:00
silverqx
39136859c2
workflows upgraded to Qt v6.5.1
2023-05-24 13:44:45 +02:00
silverqx
25b219aab5
added comment
2023-05-24 12:36:39 +02:00
silverqx
4ab31d8e51
bump version to TinyUtils v0.3.1
2023-05-21 15:38:42 +02:00
silverqx
a1ce3b9246
tests added TinyUtils::hasConfiguration()
2023-05-21 15:38:28 +02:00
silverqx
472b510b24
fixed methods order
2023-05-21 11:57:42 +02:00
silverqx
e6bb28b3c6
added section comments
2023-05-21 11:55:33 +02:00
silverqx
2093e6ba2e
changed to private:
2023-05-21 11:55:21 +02:00
silverqx
833fb55f1d
fixed methods order
2023-05-21 11:48:04 +02:00
silverqx
cf9d768078
cached the store type for EagerRelationStore
2023-05-21 11:37:36 +02:00
silverqx
39a3d772cc
fixtypo
2023-05-21 11:36:46 +02:00
silverqx
be613b6bcd
removed useless T_THREAD_LOCAL
2023-05-21 11:36:26 +02:00
silverqx
f80c93f2ec
docs removed useless #include model.hpp
2023-05-20 19:31:01 +02:00
silverqx
65d7c4a39b
models removed useless #include model.hpp
2023-05-20 19:29:35 +02:00
silverqx
032066eb5e
renamed method parameters lhs/rhs to left/right
2023-05-20 18:34:14 +02:00
silverqx
d63ac303da
used getAttribute<> everywhere
2023-05-20 18:30:17 +02:00
silverqx
39dd82fa55
tests formatting
2023-05-20 18:30:16 +02:00
silverqx
495de9347b
tests used getAttribute<> everywhere
...
- also formatting
2023-05-20 18:30:10 +02:00
silverqx
0b77303f62
tests used Model::getKey/Casted() everywhere
...
- also formatting
2023-05-20 18:11:29 +02:00
silverqx
703d8515e6
added Model getKeyCasted<> and getAttribute<>
...
They are shortcut methods to cast the QVariant to the given type.
- also used these methods in some unit tests to little test them
2023-05-20 17:50:47 +02:00
silverqx
f8509700a3
tests fixtypo
2023-05-19 18:01:52 +02:00
silverqx
a1e9f99d7d
tests used empty() check instead of 0
2023-05-19 14:18:58 +02:00
silverqx
5f4ef345d2
tests bugfix tst_Collection_Xyz::load_xyz()
2023-05-19 14:15:37 +02:00
silverqx
722fb62e2c
tests added QVERIFY(relationLoaded())
2023-05-19 14:12:09 +02:00
silverqx
c0ff36f0d6
updated comment
2023-05-19 11:43:29 +02:00
silverqx
6d6f536e88
tests updated comment
...
[skip ci]
2023-05-19 11:38:23 +02:00
silverqx
159b5afb78
moved pivot_ constant to the Orm namespace
2023-05-19 11:37:31 +02:00
silverqx
d9815e9d5a
tests test polymorphic Relation instances
...
Added the test case which tests returning
the std::unique_ptr<Relation<>> instead of the derived relation
eg. std::unique_ptr<HasMany> from the relationship factory methods.
This behavior is considered an additional feature and is possible
thanks to the polymorphism.
2023-05-19 11:19:00 +02:00
silverqx
110e152b76
added shortcut alias for Pivot
2023-05-19 10:26:56 +02:00
silverqx
fcccea8979
added comment
2023-05-18 16:17:58 +02:00
silverqx
df118c33ac
tests whitespaces
2023-05-18 15:50:21 +02:00
silverqx
fe89d9d53f
added comment and whitespaces
2023-05-18 15:42:18 +02:00
silverqx
0d60c1484a
extracted constexpr check IsPointersCollection
2023-05-17 19:31:21 +02:00
silverqx
b4d017833e
added comment
2023-05-17 19:27:24 +02:00
silverqx
0b2c435a2f
tests used real types instead of auto
2023-05-17 19:23:49 +02:00
silverqx
ec77eaae32
suppressed clang tidy warning
...
- also formatting
2023-05-17 18:39:07 +02:00
silverqx
5b169a6c41
added ModelsCollection equality operators
...
Also added equality operator overloads which allow comparing:
ModelsCollection<Model> == ModelsCollection<Model *>
ModelsCollection<Model *> == ModelsCollection<Model>
2023-05-17 18:31:47 +02:00
silverqx
b0e645a5a7
enhanced/bugfix Grammar::getCompileMap()
...
Refactored to the better container, used the QVector.
2023-05-16 20:33:34 +02:00
silverqx
15c6e1a682
bugfix static_cast<> type
2023-05-16 20:02:20 +02:00
silverqx
83a7e1319e
updated comments
2023-05-16 20:01:15 +02:00
silverqx
b5990ecbe1
used QHash::emplace() >=Qt6
2023-05-16 20:01:01 +02:00
silverqx
f8b415c346
bugfix removed noexcept
2023-05-16 19:43:14 +02:00
silverqx
cb180166ce
removed todo task
...
[skip ci]
2023-05-16 18:31:38 +02:00
silverqx
8eb2b9e2ec
fixtypo
2023-05-16 18:00:02 +02:00
silverqx
c631b97000
fixtypo avoid confusion
2023-05-16 17:59:44 +02:00
silverqx
3a8c8d0b35
whitespaces
2023-05-16 17:55:24 +02:00
silverqx
d70dd3905f
unified local variable names
2023-05-16 17:54:11 +02:00
silverqx
5324deb5c5
fixtypo
2023-05-16 17:49:18 +02:00