Skip to content

Commit ca65d55

Browse files
committed
fixed typos
1 parent a4daae8 commit ca65d55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/sql_reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ Although the value appears as a valid array, it is stored as a string. The array
118118

119119
### `arr_descending(field)`
120120
**Description**: <br>
121-
121+
ß
122122
- Sorts the elements in the specified array field in descending order.
123123
- The array must be a stringified JSON array.
124124
- All elements in the array must be of the same type.
125125

126-
**Exmaple**:
126+
**Example**:
127127
```sql
128128
SELECT *, arr_descending(emails) as sorted_emails FROM "default" ORDER BY _timestamp DESC
129129
```
@@ -138,7 +138,7 @@ In this query, the emails field contains a stringified JSON array such as `["jim
138138
**Description**: <br>
139139
Counts the number of elements in a stringified JSON array stored in the specified field. The field must contain a valid JSON array as a string.
140140

141-
**Exmaple**:
141+
**Example**:
142142
```sql
143143
SELECT *, arrcount(emails) as email_count FROM "default" ORDER BY _timestamp DESC
144144
```

0 commit comments

Comments
 (0)