mirror of
https://github.com/silverqx/TinyORM.git
synced 2025-12-21 10:29:36 -06:00
docs added external link
This commit is contained in:
@@ -820,7 +820,7 @@ The [`toBase`](#method-tobase) is an alias to the `all` method.
|
||||
|
||||
#### `toJson()` {#method-tojson}
|
||||
|
||||
The `toJson` method converts the collection of models with all nested relations into a JSON serialized `QByteArray`.
|
||||
The `toJson` method converts the collection of models with all nested relations into a JSON serialized [`QByteArray`](https://doc.qt.io/qt-6/qbytearray.html).
|
||||
|
||||
It returns an empty array for empty `many` type relations and `null` for empty `one` type relations.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user