Commit Graph

47 Commits

Author SHA1 Message Date
silverqx
550feec424 docs added API Stability boxes and a new page 2024-07-06 19:10:18 +02:00
silverqx
4c031cd70a docs renamed QVector to QList 2024-07-02 17:35:27 +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
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
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
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
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
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
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
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
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
0d1ab96ede docs for migrate:uninstall
[skip ci]
2022-12-02 08:00:31 +01:00
silverqx
7cda389cda docs renamed id 2022-11-11 09:54:32 +01: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
5c8cdbe540 bugfix docs pwsh completion, escaping " 2022-07-05 11:34:10 +02:00
silverqx
8d7fb287b9 docs migrations supported databases
[skip ci]
2022-06-23 19:04:52 +02:00
silverqx
5d7ffa406a added tom_testdata to pwsh completions
[skip ci]
2022-06-21 21:53:05 +02:00
silverqx
add34723ac docs integrate alternative installation methods
[skip ci]
2022-06-17 11:58:52 +02:00
silverqx
ad303abd85 docs small integrate update
[skip ci]
2022-06-16 14:32:05 +02:00
silverqx
ff12b71513 docs small integrate udpate
[skip ci]
2022-06-16 14:27:41 +02:00
silverqx
1f8e4d4165 docs added note about --path= for integrate zsh
[skip ci]
2022-06-16 10:52:20 +02:00
silverqx
06c27c68c3 docs added zsh integration
[skip ci]
2022-06-16 00:23:25 +02:00
silverqx
f3141e0cd5 added docs for bash tab-completion 2022-06-13 10:07:39 +02:00
silverqx
abf5bd267b docs for tab-completion and integrate command 2022-06-10 18:43:22 +02:00
silverqx
4f1c931eae added support for clang-cl
Be able to build with clang-cl with MSVC 2019/2022 but only with
inline constants.

 - supported by both CMake and qmake 🎉
 - updated docs support compilers

qmake specific:

 - enhanced and fixed tiny_toolchain_requirement
 - added clang-cl min. required version to tiny_toolchain_requirement
 - enhanced winconf.pri
 - updated conf.pri.examples
 - added a new feature file the tiny_system_headers.prf, it unifies
   tagging system headers

cmake specific:

 - also added clang-cl min. required version as minReqClangClVersion
 - for clang-cl set the INLINE_CONSTANTS to ON and don't show this
   CMake option
2022-06-04 09:23:53 +02:00
silverqx
bf27133ffc enhanced escaping of special characters
Enhanced escaping of special characters in the schema builder.

 - added note to the docs
 - added unit tests
2022-06-01 19:17:43 +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
0bcbcd2431 added support for PostgreSQL schema builder 🎉👌
- added a new config. option dont_drop, allows to define table that
   will be excluded during dropAllTables(), has a default value
   spatial_ref_sys for PostGIS
 - implemented fluent commands, used only by the PostgreSQL Comment
   command
 - added tests for PostgreSQL schema builder
 - reworked tst_Migrate to be able to run on all supported connections,
   currently PostgreSQL and MySQL
 - updated docs

Unrelated:

 - added a new reference class IndexDefinitionReference for a nice API
   during index definition, contains algorithm and language
 - unified selectFromWriteConnection() in schema builders
2022-05-23 10:14:25 +02:00
silverqx
144dfdf395 docs categorized documentation
- moved docs to categories
 - updated all links

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