Commit Graph

113 Commits

Author SHA1 Message Date
silverqx
720b3f9e07 upgraded to MySQL v8.4
- docs
 - qmake auto-detection
 - tools
 - workflows

[skip ci]
2024-05-14 15:39:33 +02:00
silverqx
b40b016842 docs changed all <a/> to <Link/>
To avoid the onBrokenAnchors warning.

[skip ci]
2024-05-06 20:04:19 +02:00
silverqx
5e98f39bd5 upgraded to Docusaurus v3.3.2 🥳👌
Also bumped to tinyorm.org v1.0.0.

 - changed :::caution to :::warning
 - enhanced assigning font-size for APITable-s
 - bugfix class vs className
 - bugfix unintended extra paragraphs (a new behavior after the upgrade
   to MDX v3)

[skip ci]
2024-05-06 18:51:10 +02:00
silverqx
74b40e2806 docs removed 4 spaces indent for cpp code blocks
This was hell too.

[skip ci]
2024-05-06 12:32:23 +02:00
silverqx
6603918531 docs added ```cpp around all code blocks 😵‍💫
This was hell.

[skip ci]
2024-05-06 10:29:49 +02:00
silverqx
417af9191e fixtypo 2024-04-02 19:50:33 +02:00
silverqx
d67ab049d8 added MYSQL_OPT_SSL_MODE configuration support
- updated docs, tests, and workflows
2024-03-22 14:42:21 +01:00
silverqx
0b03a56683 docs fixtypo 2024-03-22 14:32:23 +01:00
silverqx
2114fe014e updated comments
- also updated in docs
2024-02-25 16:50:10 +01:00
silverqx
47ae29d263 docs upgraded to MySQL v8.3 2024-02-05 16:27:46 +01:00
silverqx
dbc46e8e3d schema added tiny, medium, long binary methods
- added a new schema constants for blob and bytea
 - fixed failing test after new changes
 - updated docs
2024-02-05 16:27:41 +01:00
silverqx
35a6aeed11 docs updated Tom console showcase image 2023-09-09 09:07:10 +02:00
silverqx
75a6596229 docs qmake Auto-configure and Environment files
- added docs for Auto-configure (tiny_autoconf) and Environment files
   (tiny_dotenv)
 - completely revisited qmake-related docs
 - revisited building docs except CMake builds
 - many small fixes
2023-08-19 13:09:08 +02:00
silverqx
d6add2c325 docs updated MySQL documentation links to 8.1 2023-08-05 18:43:50 +02:00
silverqx
db97075f9e docs example formatting 2023-07-21 10:40:46 +02:00
silverqx
2161b575d1 docs added using declaration 2023-07-18 13:51:47 +02:00
silverqx
b246bca955 docs changed using declarations order 2023-07-18 13:50:40 +02:00
silverqx
adbfa4cea7 docs unified snake_case and camelCase 2023-07-15 15:22:33 +02:00
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