You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sql-manual/sql-functions/scalar-functions/json-functions/json-array.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,18 @@
5
5
}
6
6
---
7
7
8
-
# JSON_ARRAY
9
8
## Description
10
9
Generate a JSON array containing the specified elements. Returns an empty array when no parameters are passed.
11
10
12
11
## Syntax
13
12
```sql
14
13
JSON_ARRAY([<expression>, ...])
15
14
```
15
+
## Arguments
16
+
### Variable arguments:
17
+
-`<expression>`: Elements to be included in the JSON array can be of a single type or multiple types, including NULL.
18
+
## Returns
19
+
[`Nullable(JSON)`](../../../basic-element/sql-data-types/semi-structured/JSON.md): Returns a JSON array containing the specified values. If no values are specified, an empty JSON array is returned.
Copy file name to clipboardExpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/json-functions/json-array.md
0 commit comments