docs added external link

This commit is contained in:
silverqx
2023-06-24 20:05:48 +02:00
parent 6bb85fae76
commit a1d2c44c34

View File

@@ -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.