From a1d2c44c34574ea6378dcef39010d4eb3a9de604 Mon Sep 17 00:00:00 2001 From: silverqx Date: Sat, 24 Jun 2023 20:05:48 +0200 Subject: [PATCH] docs added external link --- docs/tinyorm/collections.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tinyorm/collections.mdx b/docs/tinyorm/collections.mdx index 67d0c1c5b..ba6b48d70 100644 --- a/docs/tinyorm/collections.mdx +++ b/docs/tinyorm/collections.mdx @@ -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.