Commit Graph

27 Commits

Author SHA1 Message Date
silverqx
47ae29d263 docs upgraded to MySQL v8.3 2024-02-05 16:27:46 +01:00
silverqx
d6add2c325 docs updated MySQL documentation links to 8.1 2023-08-05 18:43:50 +02:00
silverqx
3dc3cc0281 docs fixtypo 2023-05-26 14:36:47 +02:00
silverqx
7171fd1045 docs fixtypo
[skip ci]
2023-03-17 12:08:57 +01:00
silverqx
cf3a8b12b2 docs QMYSQL fixed json columns
[skip ci]
2023-03-17 07:42:07 +01:00
silverqx
362be240c6 allowed to pass QueryBuilder to whereExists
Refactored whereExists() to accept the std::shared_ptr<QueryBuilder> and
QueryBuilder &.

 - added unit and functional test
 - updated docs
 - updated all proxies
2023-02-20 16:50:48 +01:00
silverqx
824af4d679 docs note about buggy QMYSQL with json column
[skip ci]
2022-11-22 18:49:44 +01:00
silverqx
6c8dcaa8c6 docs for whereDate/Time/Day/Month/Year
[skip ci]
2022-11-18 20:50:08 +01:00
silverqx
a028a3ff8c docs removed unneeded using alias 2022-11-08 14:32:59 +01:00
silverqx
836da9bbf0 docs fixtypo 2022-08-21 18:45:51 +02:00
silverqx
07fc218733 docs fixtypo 2022-08-21 18:44:29 +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
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
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
c0e91a18e1 added QueryBuilder::updateOrInsert()
- added tests
 - updated docs
2022-07-26 13:17:46 +02:00
silverqx
1215f8503d added QueryBuilder::whereExists/exists/existsOr
- added unit tests
 - added all proxies
 - added docs
2022-07-25 11:27:02 +02:00
silverqx
ab645d41f4 added docs for QueryBuilder::implode() 2022-07-24 20:30:42 +02:00
silverqx
23a1dcd044 added dump()/dd() to the QueryBuilder
- added all proxies
 - updated docs
2022-07-24 20:17:09 +02:00
silverqx
6ac2e4331d added inRandomOrder() to the QueryBuilder
- added unit tests
 - added all proxies
 - added docs
2022-07-24 14:41:26 +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
879c4e9284 docs added keywords
[skip ci]
2022-07-22 11:16:11 +02:00
silverqx
3ffa654210 docs note about select subqueries
[skip ci]
2022-07-14 15:05:47 +02:00
silverqx
bc35186e9e added crossJoin overload
- also added docs
2022-07-12 15:36:41 +02:00
silverqx
35fa3158ef docs update
[skip ci]
2022-07-12 13:09:39 +02:00
silverqx
adf891461d docs added keywords
[skip ci]
2022-05-27 10:57:27 +02:00
silverqx
144dfdf395 docs categorized documentation
- moved docs to categories
 - updated all links

[skip ci]
2022-05-18 15:43:20 +02:00