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
Added Configuration Settings checkboxes, so a user can switch
the full/basic configuration example and also switch
the prefixed/unprefixed env. variables.
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
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
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