Commit Graph

46 Commits

Author SHA1 Message Date
silverqx
978f9160fb docs bugfix class vs className 😱
[skip ci]
2024-08-16 20:40:22 +02:00
silverqx
550feec424 docs added API Stability boxes and a new page 2024-07-06 19:10:18 +02:00
silverqx
c2d54d8cb7 docs updated #L\d+ line numbers 2024-07-06 10:24:05 +02:00
silverqx
afe299e6b0 upgraded to MySQL v9.0
- workflows, tools, docs, qmake, CMake, ...
2024-07-03 16:52:11 +02:00
silverqx
4c031cd70a docs renamed QVector to QList 2024-07-02 17:35:27 +02:00
silverqx
31b8e06a9c fixtypo compiler names
Everywhere cmake, qmake, docs, ...
2024-06-25 12:13:10 +02:00
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
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
05d7baf16a docs removed useless inline 2024-03-20 14:42:43 +01:00
silverqx
8d5ca3803b orm added, revisited, fixed QTime
I completely revisited QTime, practically everything was touched as
prepared bindings, result sets, serialization, appends, casting.

 - added many new QTime related tests
 - added a new columns to migrations
 - updated seeder
 - added a new u_timeFormat data member for models
 - updated docs about u_timeFormat
2024-02-28 11:20:26 +01:00
silverqx
47ae29d263 docs upgraded to MySQL v8.3 2024-02-05 16:27:46 +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
d6add2c325 docs updated MySQL documentation links to 8.1 2023-08-05 18:43:50 +02:00
silverqx
d98ee5c6c5 docs fixtypo and revisited section
[skip ci]
2023-07-25 08:44:04 +02:00
silverqx
fdd42aad4c added using aliases to the Model class
Extracted all the needed using aliases to the base Model class, it helps
to avoid declaring these using-s in the Derived models.

 - updated documentation, removed all useless using-s
2023-07-18 13:57:43 +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
fe0c6547e0 docs bugfix and updated heading IDs 2023-07-15 14:06:42 +02:00
silverqx
b7dd2e5811 docs fixtypo 2023-06-01 14:35:37 +02:00
silverqx
9bccda590e changed Model timestamps to getter methods
Changed from static data members to static getter methods to avoid Clang
crashed because of static initialization order.

 - updated docs
2023-04-02 11:07:17 +02: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
fdb1c4c164 docs QLatin1Char 2022-11-12 03:37:33 +01:00
silverqx
c3281836bb docs whitespaces 2022-11-11 09:54:09 +01:00
silverqx
2f2d3e865a docs add Model::only 2022-11-08 13:51:02 +01:00
silverqx
035b4dfeb8 docs described Model ctor and QDateTime problem 2022-11-08 13:42:52 +01:00
silverqx
c650aacc51 docs used currentDateTimeUtc() 2022-11-08 13:42:34 +01:00
silverqx
b9c7761535 docs added paragraph about u_dates
[skip ci]
2022-09-02 07:48:13 +02:00
silverqx
46808b1005 added unix timestamps support
The Model::u_dateFormat now also accepts 'U' for unix timestamps.
The database column type should be qint64 or int.

 - added extensive unit tests also for null values, for getAttribute()
   and also for setAttribute()
 - updated migrations, added a new added_on unix timestamp column
   to the Role model
 - updated database seeders
 - updated docs
2022-08-30 10:26:40 +02:00
silverqx
7b38c719bb docs removed useless tip 2022-08-29 09:32:48 +02:00
silverqx
0946ad6046 added TinyBuilder::touch()
- added unit tests
 - added model proxy touchAll()
 - added docs
2022-08-27 11:21:40 +02:00
silverqx
26c719689d docs fixtypo 2022-08-27 09:51:34 +02:00
silverqx
61bd9e87f1 added Soft Deleting support 🤯🙌
In addition to actually removing records from your database, TinyORM
can also "soft delete" models. When models are soft deleted, they are
not actually removed from your database. Instead, a deleted_at attribute
is set on the model indicating the date and time at which the model was
"deleted".

 - added docs
 - added all proxies
 - added complete functional tests and a few unit tests
 - carefully verified all possible scenarios because it changes
   practically all queries 🤯

Others:

 - also added from() to all proxies
 - bugfix in seeders, bad ID in the PostgreSQL primary key (sequence)
2022-08-26 18:21:45 +02:00
silverqx
bb8adaa28a docs added Model::upsert 2022-08-21 18:55:30 +02:00
silverqx
135e61eb40 docs fixtypo 2022-08-21 18:34:35 +02:00
silverqx
191db6a48d docs added note about operator== 2022-08-20 17:01:44 +02:00
silverqx
96b80488d0 added HasOne/BelongsTo::is/isNot
It allows comparing a related model without issuing a query to retrieve
that model.

 - added functional tests for both HasOne and also BelongsTo relations
 - added docs

Others:

 - added the new unit test case tst_Relations_Connection_Independent
2022-08-19 16:31:38 +02:00
silverqx
21c5f3c4be docs added Model::replicate 2022-08-19 07:28:16 +02: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
a3d06fdd6f added docs for TinyBuilder::BuildsQueries 2022-07-29 08:42:45 +02:00
silverqx
8f726a0878 docs add Model::findOr() and aggregates example 2022-07-26 10:16:31 +02:00
silverqx
16494b4507 docs moved tip to other page
[skip ci]
2022-07-10 21:06:43 +02:00
silverqx
1fb49dbcac docs added Generating Model Classes section
[skip ci]
2022-07-10 14:14:49 +02:00
silverqx
adf891461d docs added keywords
[skip ci]
2022-05-27 10:57:27 +02:00
silverqx
144dfdf395 docs categorized documentation
- moved docs to categories
 - updated all links

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