Commit Graph

95 Commits

Author SHA1 Message Date
silverqx
8ca7813a4a docs fixtypo C++ 2023-07-15 14:14:41 +02:00
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
352041968a docs fixtypo 2023-06-25 09:55:39 +02:00
silverqx
164d32f239 docs changed id to class 2023-05-27 17:49:46 +02:00
silverqx
3dc3cc0281 docs fixtypo 2023-05-26 14:36:47 +02:00
silverqx
a851cb5372 sync docs, updated images
[skip ci]
2023-04-16 11:05:00 +02:00
silverqx
931a759f27 sync docs
[skip ci]
2023-04-16 09:56:46 +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
8097037805 schema modifying columns 🔥🚀🥳
Added the change() method which allows to modify the type and attributes
of existing columns.

 - added renameTo() for MySQL which can be used with the change()
 - added tests
 - updated docs
2023-03-14 16:29:07 +01: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
06892cec11 docs fixtypo
[skip ci]
2023-02-22 14:48:22 +01:00
silverqx
051eb213e0 bump version to TinyORM v0.28.0 and tom v0.5.3
- refactored SchemaBuilder instantiation
 - added connection name to Exceptions::QueryError
 - tom added --pending option to migrate:status
 - tom added --batch=X option to migrate:rollback
 - docs added migrate --pending and --batch sections
 - schema added ability to add table comment
 - schema added ability to call comment() on SQLite
 - optimized eager loading when no keys to be loaded
 - dropped return value for connectEagerly()
 - allowed to pass QueryBuilder to whereExists
 - allowed to pass expression to pluck()
 - schema added datetimes and softDeletesDatetime
 - renamed to Blueprint::datetime/Tz()
 - schema added withoutForeignKeyConstraints()
 - added dropDatetimes() and dropSoftDeletesDatetime()
2023-02-22 14:43:01 +01:00
silverqx
564328f6f7 schema added drop aliased
Added dropDatetimes() and dropSoftDeletesDatetime().

 - updated docs
2023-02-21 13:38:28 +01:00
silverqx
66f278d180 schema added withoutForeignKeyConstraints()
Added shortcut method which disables foreign key constraints during the
execution of a callback.

 - updated docs
2023-02-21 12:54:25 +01:00
silverqx
505badde4c docs migrations reorder column types 2023-02-21 12:43:27 +01:00
silverqx
307e899f07 renamed to Blueprint::datetime/Tz()
- also updated docs
2023-02-21 12:38:24 +01:00
silverqx
8447bb6d16 schema added datetimes and softDeletesDatetime
Added the datetimes() and softDeletesDatetime() shortcut methods
to the Blueprint.

 - updated docs
2023-02-21 12:32:25 +01:00
silverqx
6a1792a4e4 docs added renaming columns section 2023-02-21 10:37:18 +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
6007d5f3d4 schema added ability to add table comment
The table comment can be added for the MySQL and PostgreSQL databases.
The SQLite database doesn't support it.

 - added unit and functional tests
 - added docs
2023-02-19 18:27:38 +01:00
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