Commit Graph

41 Commits

Author SHA1 Message Date
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 4e5b4dd189 docs updated min. supported database versions 2022-08-09 21:45:22 +02:00
silverqx dc5ee2dc55 added missing Seeding to README.md
[skip ci]
2022-08-07 19:33:36 +02:00
silverqx ea30ef90d5 docs fixtypo tab completion
Used tab completion in docs instead of tab-completion.
2022-08-06 14:33:41 +02:00
silverqx efab782182 docs added tom showcase image 2022-08-06 14:31:11 +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 2b672c9a85 docs updates in multi-threading section
[skip ci]
2022-07-10 21:05:09 +02:00
silverqx 5c8cdbe540 bugfix docs pwsh completion, escaping " 2022-07-05 11:34:10 +02:00
silverqx 8d7fb287b9 docs migrations supported databases
[skip ci]
2022-06-23 19:04:52 +02:00
silverqx 5d7ffa406a added tom_testdata to pwsh completions
[skip ci]
2022-06-21 21:53:05 +02:00
silverqx add34723ac docs integrate alternative installation methods
[skip ci]
2022-06-17 11:58:52 +02:00
silverqx ad303abd85 docs small integrate update
[skip ci]
2022-06-16 14:32:05 +02:00
silverqx ff12b71513 docs small integrate udpate
[skip ci]
2022-06-16 14:27:41 +02:00
silverqx 1f8e4d4165 docs added note about --path= for integrate zsh
[skip ci]
2022-06-16 10:52:20 +02:00
silverqx 06c27c68c3 docs added zsh integration
[skip ci]
2022-06-16 00:23:25 +02:00
silverqx f3141e0cd5 added docs for bash tab-completion 2022-06-13 10:07:39 +02:00
silverqx abf5bd267b docs for tab-completion and integrate command 2022-06-10 18:43:22 +02:00
silverqx 4f1c931eae added support for clang-cl
Be able to build with clang-cl with MSVC 2019/2022 but only with
inline constants.

 - supported by both CMake and qmake 🎉
 - updated docs support compilers

qmake specific:

 - enhanced and fixed tiny_toolchain_requirement
 - added clang-cl min. required version to tiny_toolchain_requirement
 - enhanced winconf.pri
 - updated conf.pri.examples
 - added a new feature file the tiny_system_headers.prf, it unifies
   tagging system headers

cmake specific:

 - also added clang-cl min. required version as minReqClangClVersion
 - for clang-cl set the INLINE_CONSTANTS to ON and don't show this
   CMake option
2022-06-04 09:23:53 +02:00
silverqx bf27133ffc enhanced escaping of special characters
Enhanced escaping of special characters in the schema builder.

 - added note to the docs
 - added unit tests
2022-06-01 19:17:43 +02:00
silverqx adf891461d docs added keywords
[skip ci]
2022-05-27 10:57:27 +02:00
silverqx 59fd5e3ce5 docs caution about multi-threading with migrations 2022-05-24 15:52:53 +02:00
silverqx 7f7dc87c96 docs added Multi-threading support section
- removed todo task

[skip ci]
2022-05-24 11:30:42 +02:00
silverqx 9758e8653e updated README.md for github 2022-05-23 13:28:45 +02:00
silverqx 0bcbcd2431 added support for PostgreSQL schema builder 🎉👌
- added a new config. option dont_drop, allows to define table that
   will be excluded during dropAllTables(), has a default value
   spatial_ref_sys for PostGIS
 - implemented fluent commands, used only by the PostgreSQL Comment
   command
 - added tests for PostgreSQL schema builder
 - reworked tst_Migrate to be able to run on all supported connections,
   currently PostgreSQL and MySQL
 - updated docs

Unrelated:

 - added a new reference class IndexDefinitionReference for a nice API
   during index definition, contains algorithm and language
 - unified selectFromWriteConnection() in schema builders
2022-05-23 10:14:25 +02:00
silverqx 10ea068306 docs added hash tags
[skip ci]
2022-05-18 16:07:01 +02:00
silverqx 542e653a3e docs added hash tags 2022-05-18 16:04:44 +02:00
silverqx 3e7afec04b bugfix in urls 2022-05-18 16:02:55 +02:00
silverqx 08d63cfd74 docs added README.md files for github 2022-05-18 16:01:25 +02:00
silverqx 144dfdf395 docs categorized documentation
- moved docs to categories
 - updated all links

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