Commit Graph

94 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
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
8e89a5abed docs renamed toVector to toList
Also renamed attributesToVector() to attributesToList().
2024-07-02 17:24:51 +02:00
silverqx
31b8e06a9c fixtypo compiler names
Everywhere cmake, qmake, docs, ...
2024-06-25 12:13:10 +02:00
silverqx
1c2f17facf removed deprecated up to Qt v6.9 (Qt::TimeSpec) 🎉
- removed using of QDateTime methods using plain Qt::TimeSpec
 - set QT_DISABLE_DEPRECATED_UP_TO to 0x060900 (also 0x061000 works)
 - maintained Qt v5 and <v6.5 code still 😬 (next step will be to drop
   Qt v5 🎉)
 - updated auto tests
 - updated docs
 - updated comments

See:
8c8d6ff7b6
2024-06-25 12:13:07 +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
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
b645bfd9a3 docs used ```text instead of intended block
[skip ci]
2024-05-06 12:32:27 +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
8ef821980b docs fixtypo
[skip ci]
2024-05-06 09:54:23 +02:00
silverqx
b83b8247c2 docs used /qt/ in URLs instead of /qt-6/ 2024-04-21 15:07:24 +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
a82d063a88 docs added underline 2024-02-25 19:10:00 +01:00
silverqx
47ae29d263 docs upgraded to MySQL v8.3 2024-02-05 16:27:46 +01:00
silverqx
953dad6d57 renamed method to detachAll(bool)
To avoid unwanted overload resolution because of int to bool conversion.

 - also updated docs
2023-12-20 15:06:36 +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
6595fa043f docs fixtypo
[skip ci]
2023-07-19 19:52:09 +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
39879901c8 updated comment 2023-07-17 20:02:36 +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
8548509305 docs removed useless heading IDs 2023-07-15 14:06:48 +02:00
silverqx
fe0c6547e0 docs bugfix and updated heading IDs 2023-07-15 14:06:42 +02:00
silverqx
c21732f005 docs added Hiding, Appending attributes
- also added docs for Accessors
2023-07-15 13:12:22 +02:00
silverqx
c4a93ca64a docs updates Casts with serialization
Described a new CastType::CustomQDate and CastType::CustomQDateTime cast
types.
2023-06-29 13:41:59 +02:00
silverqx
de9cc281a9 changed defaults to Compact for toJson()
Changed from QJsonDocument::Indented to Compact.

 - updated docs
2023-06-25 16:42:43 +02:00
silverqx
7014690529 docs added serialization 🪡🤓
- updated features summary
 - added to all navigation lists
2023-06-25 09:57:09 +02:00
silverqx
352041968a docs fixtypo 2023-06-25 09:55:39 +02:00
silverqx
a1d2c44c34 docs added external link 2023-06-24 20:05:48 +02:00
silverqx
6bb85fae76 docs added missing collection methods
Added documentation for all, toBase, toJson, toJsonArray,
toJsonDocument, toMap, toMapVariantList, toVector, and
toVectorVariantList.
2023-06-24 19:58:26 +02:00
silverqx
bc65688714 docs updated ModelsCollection::tap example 2023-06-01 15:18:07 +02:00
silverqx
5f44b52875 added Orm::collect<Model>
This method creates a ModelsCollection using the given attributes, it
internally calls the Models::instance() method.

The Orm::collect<Model> function is mandatory if the given attributes
contain the QDateTime instance.

 - updated tests used everywhere
 - updated docs
2023-06-01 14:39:14 +02:00
silverqx
b7dd2e5811 docs fixtypo 2023-06-01 14:35:37 +02:00
silverqx
5f7375a29b bugfix crash with SoftDeletes and CRTP 2023-06-01 11:23:03 +02:00
silverqx
48c0f6fc02 added sortBy() sort by multiple columns overload
- added unit tests
 - updated docs
2023-05-31 17:26:40 +02:00
silverqx
d7952e2a1b added const to filter, reject, doesnt/constains
Added const to callbacks where appropriate.

 - updated unit tests
 - updated disc
2023-05-31 10:10:01 +02:00
silverqx
7ec8887b57 added ModelsCollection::unique/uniqueBy
- added unit tests
 - updated docs
2023-05-30 16:38:48 +02:00
silverqx
acfaead435 added ModelsCollection::sort/sortBy
- also added stableSort() and stableSortBy()
 - added the descending variants for all above methods
 - added Model three way comparison operator for comparing/sorting
   models by the primary key
 - added unit tests
 - updated docs
2023-05-30 11:48:21 +02:00
silverqx
8bb8e090b9 added ModelsCollection::fresh()
- added unit tests
2023-05-28 15:35:55 +02:00
silverqx
6d52565329 docs fixtypo 2023-05-28 15:34:24 +02:00
silverqx
4eb468f4d3 bugfix ModelsCollection::map() return type
- updated docs
2023-05-28 10:44:06 +02:00
silverqx
db84428b5e docs used new with() and load() overloads 2023-05-28 08:44:37 +02:00
silverqx
ef71215afd added pluck overload
- added unit tests
 - updated docs
2023-05-28 08:25:30 +02:00