docs: grammar: sql json

Minor grammar updates to SQL > JSON page
This commit is contained in:
Sean Ely 2022-05-25 15:28:31 -07:00 committed by gccgdb1234
parent 0fee6f2a0b
commit 15b9d1a88a
1 changed files with 3 additions and 3 deletions

View File

@ -52,13 +52,13 @@ title: JSON Type
4. Tag Operations 4. Tag Operations
The value of JSON tag can be altered. Please be noted that the full JSON will be override when doing this. The value of JSON tag can be altered. Please note that the full JSON will be overriden when doing this.
The name of JSON tag can be altered. A tag of JSON type can't be added or removed. The column length of a JSON tag can't be changed. The name of JSON tag can be altered. A tag of JSON type can't be added or removed. The column length of a JSON tag can't be changed.
## Other Restrictions ## Other Restrictions
- JSON type can only be used for tag. There can be only one tag of JSON type, and it's exclusive to any other types of tag. - JSON type can only be used for a tag. There can be only one tag of JSON type, and it's exclusive to any other types of tags.
- The maximum length of keys in JSON is 256 bytes, and key must be printable ASCII characters. The maximum total length of a JSON is 4,096 bytes. - The maximum length of keys in JSON is 256 bytes, and key must be printable ASCII characters. The maximum total length of a JSON is 4,096 bytes.
@ -74,7 +74,7 @@ title: JSON Type
- If a tag of JSON is the result of inner query, it can't be parsed and queried in the outer query. - If a tag of JSON is the result of inner query, it can't be parsed and queried in the outer query.
For example, below SQL statements are not supported. For example, the below SQL statements are not supported.
```sql; ```sql;
select jtag->'key' from (select jtag from STable); select jtag->'key' from (select jtag from STable);