Commit Graph

5589 Commits

Author SHA1 Message Date
silverqx b31819464d orm used forward declaration
Used for the attributes argument as its passed as both const T & and
T && or T (this depends on whether NRVO kicks in).
2024-08-06 21:01:04 +02:00
silverqx cf55c95def orm updated comment 2024-08-06 21:01:03 +02:00
silverqx 3ce387933a orm added comment 2024-08-06 21:01:03 +02:00
silverqx 20403c6e65 orm used forward declaration
Used for the relations argument as its passed as both const T & and
T && or T (this depends on whether NRVO kicks in).
2024-08-06 21:01:03 +02:00
silverqx 1a6e8a4d9c orm bugfix friend class
Missing the class specifier for the friend full specialization
declaration.
2024-08-06 21:01:02 +02:00
silverqx 77e2c67b64 orm added early returns to enhance performance 2024-08-06 21:01:02 +02:00
silverqx b297551629 orm whitespace 2024-08-06 21:01:02 +02:00
silverqx b4a037e6a0 bugfix death code branch 2024-08-06 21:01:01 +02:00
silverqx f1b8473092 enhanced NotNull
Use Q_ASSERT_X() for Debug builds.
2024-08-06 21:01:01 +02:00
silverqx 5c0be513fc orm fixtypo 2024-08-06 21:01:01 +02:00
silverqx b58158e876 revisited all Q_UNREACHABLE() 😰
I have a weird feeling that I will have to return to this again. :/
These unreachable macros scares me. :/
2024-08-06 21:00:56 +02:00
silverqx 65507702a7 fixtypo 2024-08-03 18:40:02 +02:00
silverqx e731779d4e orm removed static specifier 2024-08-03 18:40:02 +02:00
silverqx 9a7bf30e14 fixtypo in concept name 2024-08-03 18:40:01 +02:00
silverqx 3e3e25227a fixtypo 2024-08-03 18:40:01 +02:00
silverqx f3dc9b9299 tom extracted code to static method 2024-08-03 18:40:01 +02:00
silverqx 379b906e84 tom renamed method 2024-08-03 18:40:00 +02:00
silverqx e9a93cd7c9 tom changed exception type to InvalidArgumentError 2024-08-03 18:40:00 +02:00
silverqx 8f97dce4ae tom made local variable static 2024-08-03 18:40:00 +02:00
silverqx 370d3c822b bugfix missing break 2024-08-03 18:39:59 +02:00
silverqx 9fc9a9164c tom whitespaces 2024-08-03 18:39:59 +02:00
silverqx 4f644030b8 tom code style removed parenthesis 2024-08-03 18:39:58 +02:00
silverqx 16adf6734c tom bugfix missing const 2024-08-03 18:39:58 +02:00
silverqx a97e3a87ac orm made Relation::m_related NotNull
The Relation::m_query and TinyBuilder::m_query should also be NotNull,
but I can't make it work, compilation fails. 🫤
2024-08-03 18:39:58 +02:00
silverqx 6add06e395 cmake added commented /analyze for MSVC 2024-08-03 18:39:57 +02:00
silverqx c81d9da2c4 suppressed VS analyzer warnings 2024-08-03 18:39:54 +02:00
silverqx f9cd6323a8 enhanced NotNull helper 2024-08-02 13:19:44 +02:00
silverqx 08ac95bfe5 added guidelines to .editorconfig for VS 2024-08-02 13:15:48 +02:00
silverqx a6f032e962 updated NOTES.txt 2024-08-01 23:50:48 +02:00
silverqx e21b826566 whitespaces 2024-08-01 12:49:05 +02:00
silverqx 08b15a3b86 updated .gitignore 2024-08-01 12:35:19 +02:00
silverqx b3a1c1e9fd tom removed useless #include-s 2024-07-31 13:24:36 +02:00
silverqx fadb0d3d60 tests bugfix #include 2024-07-30 19:26:15 +02:00
silverqx c2c6e16a8f used QStringLiteral() 2024-07-30 18:02:44 +02:00
silverqx e9302736a5 tests fixed Clang Tidy warnings 2024-07-30 16:53:33 +02:00
silverqx f043f05953 drivers fixed Clang Tidy warnings 2024-07-30 16:52:27 +02:00
silverqx 2519c193ed fixed Clazy warnings 2024-07-30 14:03:44 +02:00
silverqx 571639892d drivers bugfix removed noexcept specifier 2024-07-30 00:22:33 +02:00
silverqx d9da81ef37 drivers mysql suppressed Clang Tidy warning 2024-07-29 23:44:09 +02:00
silverqx 3a14b13367 fixed Clang Tidy warnings 2024-07-29 23:39:39 +02:00
silverqx 1e4b0bce79 drivers mysql bugfix loadable MySQL driver 2024-07-29 14:49:47 +02:00
silverqx c49fe456f0 drivers mysql updated comment 2024-07-29 14:48:58 +02:00
silverqx a9e6ef9a56 drivers added todo task 2024-07-29 13:48:32 +02:00
silverqx e833caa106 removed elaborated friend declarations
Used forward declarations declared before instead.

It looks like the elaborated friend declarations will be dropped
from the C++26.
2024-07-28 17:51:22 +02:00
silverqx 08f679f54d updated NOTES.txt 2024-07-28 17:35:31 +02:00
silverqx 3933bad984 tests renamed local variables to sqlQuery 2024-07-28 16:08:30 +02:00
silverqx 20dce55c17 tests renamed methods to createSqlQuery() 2024-07-28 15:55:52 +02:00
silverqx 7f897b339e renamed all getQtQuery and similar to getSqlQuery
These methods had a wrong names after the TinyDrivers were added as
all can return QSqlXyz or Orm::Drivers::SqlXyz instances.

Changing Qt to Sql covers both cases.

 - updated auto tests
 - updated docs
2024-07-28 15:53:02 +02:00
silverqx b455794859 orm added IWYU pragma-s 2024-07-28 13:19:17 +02:00
silverqx 4a7063d925 orm static_cast<> to & instead of pointer 2024-07-28 13:12:14 +02:00