Commit Graph

32 Commits

Author SHA1 Message Date
silverqx
aad52a89c8 changed qt_timezone default to Qt::UTC
Previously, it was the QtTimeZoneType::DontConvert that implied the
Qt::LocalTime timezone spec.

Setting this to the Qt::UTC by default is the only way to have the
maximum level of interoperability between TinyORM and other libraries
and services.

 - updated comments in docs and source code
2023-06-29 12:07:42 +02:00
silverqx
931a759f27 sync docs
[skip ci]
2023-04-16 09:56:46 +02:00
silverqx
d1e0d73839 docs added MariaDB configuration example 2023-03-14 12:48:23 +01:00
silverqx
65438acdc4 docs updated supported databases 2023-03-14 12:48:20 +01:00
silverqx
6977110a76 docs added SQLite warnings 2023-02-19 14:35:42 +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
9b4be28a98 docs added DB::scalar() 2022-11-08 14:37:15 +01:00
silverqx
c650aacc51 docs used currentDateTimeUtc() 2022-11-08 13:42:34 +01: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
4e5b4dd189 docs updated min. supported database versions 2022-08-09 21:45:22 +02:00
silverqx
2b672c9a85 docs updates in multi-threading section
[skip ci]
2022-07-10 21:05:09 +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
144dfdf395 docs categorized documentation
- moved docs to categories
 - updated all links

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