Commit Graph

123 Commits

Author SHA1 Message Date
silverqx b54adc0de3 docs added migrate --pending and --batch sections 2023-02-19 14:36:50 +01:00
silverqx 6977110a76 docs added SQLite warnings 2023-02-19 14:35:42 +01:00
silverqx 4d5df400e1 docs added missing SoftDeletes parts 2023-02-19 14:35:04 +01:00
silverqx 9f5fcb06cd docs used QStringLiteral in full configurations 2023-02-15 20:59:46 +01:00
silverqx b40413a24d docs used new search_path config. option 2023-02-15 20:58:51 +01:00
silverqx cd5ea8c44e docs updated comment 2023-02-15 13:58:29 +01:00
silverqx 401d79708f docs set prefix_indexes to false 2023-02-14 21:38:47 +01:00
silverqx 45d6a78049 docs commented unusual configuration options
[skip ci]
2023-02-04 23:43:19 +01:00
silverqx 29349fdc92 docs enhanced database configuration examples
Added Configuration Settings checkboxes, so a user can switch
the full/basic configuration example and also switch
the prefixed/unprefixed env. variables.
2023-02-03 13:29:02 +01:00
silverqx d7fc276050 docs fixed anchors #L 2023-02-01 14:31:36 +01:00
silverqx 367f28147c docs added , 2023-02-01 13:33:21 +01:00
silverqx b778e6ff06 doc fixtypo 2023-02-01 13:33:08 +01:00
silverqx 6e2d57ccc2 added SSL-related MySQL configuration
Added a new SSL-related configuration options to the top-level
configuration level for MySQL database. They are SSL_CERT, SSL_KEY, and
SSL_CA.

These options are copied from the top-level configuration to the options
option hash during configuration parsing
by the MySqlConfigurationParser.

If both are defined, then the top-level option overwrites a option
in the 'options' hash.

 - functional test
 - updated docs
2023-02-01 13:32:39 +01:00
silverqx 1ed4b9b9b2 docs used indent instead of ``` 2023-02-01 11:00:12 +01:00
silverqx 960cac2e4a docs fixtypo 2023-02-01 10:55:16 +01:00
silverqx e74bf36773 docs fixed anchor 2023-02-01 10:54:45 +01:00
silverqx 9910668a8a added SSL-related PostgreSQL configuration
Added a new SSL-related configuration options to the top-level
configuration level for PostgreSQL database. They are sslmode, sslcert,
sslkey, and sslrootcert.

These options are copied from the top-level configuration to the options
option hash during configuration parsing
by the PostgresConfigurationParser.

If both are defined, then the top-level option overwrites a option
in the 'options' hash.

 - also added constants
 - functional test
 - updated docs
2023-02-01 10:53:54 +01:00
silverqx 14322f0677 docs fixtypo
[skip ci]
2023-01-27 19:42:59 +01:00
silverqx c3ba74a3af docs fixtypo
[skip ci]
2023-01-27 19:25:21 +01:00
silverqx e7f845a6cd docs unified links to Qt's documentation
Used the /qt/ instead of specific versions, eg. /qt-5/xyz.
2023-01-27 14:23:21 +01:00
silverqx e7233f934e docs added SSL Connections section 2023-01-27 14:18:27 +01:00
silverqx 0d4c06966c docs updated tom showcase image
[skip ci]
2022-12-02 09:43:19 +01:00
silverqx 3783628c39 docs updated tom showcase image
[skip ci]
2022-12-02 09:17:35 +01:00
silverqx 0d1ab96ede docs for migrate:uninstall
[skip ci]
2022-12-02 08:00:31 +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 7cda389cda docs renamed id 2022-11-11 09:54:32 +01:00
silverqx 9b4be28a98 docs added DB::scalar() 2022-11-08 14:37:15 +01:00
silverqx a028a3ff8c docs removed unneeded using alias 2022-11-08 14:32:59 +01:00
silverqx c650aacc51 docs used currentDateTimeUtc() 2022-11-08 13:42:34 +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 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