Commit Graph

66 Commits

Author SHA1 Message Date
silverqx b01062e4d1 docs added MAKEFLAGS 2023-08-20 11:34:05 +02:00
silverqx da1e38f2c2 docs updated number of unit tests to 3263 2023-07-17 22:21:19 +02:00
silverqx 4b6e613694 docs updated number of unit tests to 3261 2023-07-15 15:36:09 +02:00
silverqx 8ca7813a4a docs fixtypo C++ 2023-07-15 14:14:41 +02:00
silverqx a3c99a90a6 dropped older clang support
Supported is only clang >=15, older clang has compiler bugs in concepts
and constraints, many bugs were fixed in the latest clang versions.
2023-06-21 08:33:53 +02:00
silverqx 6b325b2b9c docs added note about unsuported compilers 2023-06-19 09:56:12 +02:00
silverqx c70f54c3cc docs updated compiler version
[skip ci]
2023-04-08 21:19:02 +02:00
silverqx 7e91b05c97 docs updated compiler versions
[skip ci]
2023-04-08 21:12:59 +02:00
silverqx 92529936b2 docs updated number of unit tests to 2796 2023-03-29 16:15:11 +02:00
silverqx 618a904402 docs updated number of unit tests to 2795 2023-03-15 16:40:04 +01:00
silverqx dba6badad2 docs updated number of unit tests to 2793 2023-03-15 12:06:43 +01:00
silverqx 90f2441aaa updated number of unit tests to 2729 2023-03-14 17:36:21 +01:00
silverqx b8f58deb1b updated number of unit tests to 2187 2023-03-12 15:10:26 +01:00
silverqx 816e0d38f1 docs updated number of unit tests to 2186 2023-02-21 13:39:38 +01:00
silverqx d1e78a0099 docs updated supported compilers 2023-02-21 10:37:33 +01:00
silverqx f342a0a992 docs updated number of unit tests to 2183 2023-02-21 09:22:19 +01:00
silverqx 64b9470472 docs updated number of unit tests to 2179 2023-02-20 17:19:56 +01:00
silverqx afc0bb4eb9 docs updated number of unit tests to 2176 2023-02-19 18:51:24 +01:00
silverqx cbee5a375b docs updated number of unit tests to 2174 2023-02-19 18:28:02 +01:00
silverqx e2476f5cf4 docs updated number of unit tests to 2160 2023-02-16 11:05:34 +01:00
silverqx d80d9063b9 docs updated number of tests to 2113 2023-02-07 09:48:55 +01:00
silverqx 4ba3ac6e48 docs updated min. required CMake version to 3.22
[skip ci]
2023-02-06 15:16:08 +01:00
silverqx f721af4cbc docs updated number of unit tests to 2101 2023-02-01 18:54:41 +01:00
silverqx c87b111760 docs updated number of tests to 2096 2022-11-19 09:26:41 +01:00
silverqx 00818490e2 docs updated number of tests to 2027 2022-11-09 18:19:49 +01:00
silverqx e02dc88a4a docs updated supported compilers
[skip ci]
2022-09-21 20:24:56 +02:00
silverqx 425591bdf7 docs updated number of tests to 1749
[skip ci]
2022-09-21 20:24:15 +02:00
silverqx a76889188b updated number of unit tests to 1476 2022-08-30 10:40:42 +02:00
silverqx 224958bd74 updated number of unit tests to 1458 2022-08-27 13:49:45 +02:00
silverqx dab52b14cf updated number of unit tests to 1455 2022-08-26 18:37:48 +02:00
silverqx ccb8a9d302 docs updated number of unit tests to 1422 2022-08-21 14:18:54 +02:00
silverqx 4139f2bace docs updated number of unit tests to 1423 2022-08-19 18:02:02 +02:00
silverqx d54b041d81 added whereBetween and whereBetweenColumns
- added proxies
 - added unit and functional tests
 - added docs
 - updated number of unit tests to 1417
2022-08-18 11:12:48 +02:00
silverqx 45b94a77ec added TinyBuilder::upsert and proxies
The upsert method needed modification in the TinyBuilder, it has to also
manage model timestamps.

 - also added proxies
 - added functional test that also tests timestamps
 - added functional test on the BelongsToMany relation
 - updated number of unit tests to 1408
2022-08-13 14:06:01 +02:00
silverqx 5ff160dec5 use upsert alias on MySQL
The MySQL >=8.0.19 supports aliases in the VALUES and SET clauses
of INSERT INTO ... ON DUPLICATE KEY UPDATE statement for the row to be
inserted and its columns. It also generates warning from >=8.0.20 if
an old style used.

This enhancement detects the MySQL version and on the base of it uses
alias during the upsert call.

Also a user can override the version through the MySQL database
configuration. It helps to save/avoid one database query
(select version()) during the upsert method call or during connecting
to the MySQL database (version is needed if strict mode is enabled).

 - added unit and functional tests
 - updated number of unit tests to 1402
 - updated upsert docs
 - added ConfigUtils to avoid duplicates

Others:

 - added the version database configuration everywhere
 - docs added few lines about MySQL version configuration option
 - docs updated database configurations, added a new missing options
2022-08-12 15:37:56 +02:00
silverqx b67d4f5050 added QueryBuilder::upsert
- added unit and functional auto tests
 - added docs
 - docs updated number of unit tests to 1393
2022-08-10 07:55:15 +02:00
silverqx b31145aa81 updated number of unit tests to 1375 2022-08-08 16:30:15 +02:00
silverqx 796975d595 updated number of unit tests 2022-08-07 15:16:36 +02:00
silverqx c3e4116d58 added where column/value expression tests 2022-08-01 10:10:08 +02:00
silverqx 36d050ca70 added more Model/Relation::whereRowValues() tests 2022-07-31 15:14:10 +02:00
silverqx 54748fdef1 added QueryBuilder::whereRowValues()
- added all proxies
 - added tests
2022-07-31 14:24:38 +02:00
silverqx b0d76774c0 added attribute to Model::touch() method
- added test
2022-07-31 12:51:19 +02:00
silverqx 19f99d583f added Model/BelongsToMany::firstOr()
- added tests
2022-07-31 12:08:33 +02:00
silverqx a166922d1f fixed TinyBuilder::pluck() 🤯
Apply u_date QDateTime transformations during the pluck algorithm.

 - also added unit tests for pluck-ing with QDateTime/u_dates
2022-07-29 18:36:55 +02:00
silverqx 2e376c24b7 tests used QueryUtils::queryResultSize() SQLite 2022-07-29 15:33:17 +02:00
silverqx cf131625f3 tests added Model::pluck() 2022-07-29 15:10:08 +02:00
silverqx 6f21c15794 added BuildsQueries concern for TinyBuilder
Added chunk, each, chunkMap, chunkById, eachById, sole, tap
in TinyBuilder::Concerns::BuildsQueries and TinyBuilder::soleValue().

 - added tests
 - added proxies to Model and Relation
 - also added missing proxy for forPageAfterId()
2022-07-28 19:38:29 +02:00
silverqx 2557f66594 added BuildsQueries concerns
Added chunk, each, chunkById, eachById, sole, tap in BuildsQueries and
QueryBuilder::soleValue().

 - added tests
 - added docs
2022-07-27 08:38:02 +02:00
silverqx a477825e60 added whereNot/whereNotXyz counterparts
Added the whereNot counterparts for the basic, nested, array, and
sub-query where methods.

 - updated docs
 - added unit tests
2022-07-22 16:00:11 +02:00
silverqx 69dfa9e951 docs updated number of unit tests to 1027 😲 2022-07-11 19:44:24 +02:00