Skip to content

Commit

Permalink
chore: remove json limitation (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu authored Nov 18, 2024
1 parent c558c89 commit 58b4568
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions docs/reference/sql/data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,6 @@ Output:
+------------------------------------------+---------------------+
```

:::warning Limitation

The insertion of JSON data using MySQL protocol prepared statements is not supported.

:::

### Query JSON data

You can query the JSON data directly or extract specific fields using [JSON functions](./functions/overview.md#json-functions) provided by GreptimeDB. Here's an example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,6 @@ SELECT * FROM json_data;
+------------------------------------------+---------------------+
```

:::warning 限制说明

不支持通过 MySQL 协议预处理语句插入 JSON 数据。

:::


### 查询 JSON 数据

您可以直接查询 JSON 数据,也可以使用 GreptimeDB 提供的 [JSON 函数](./functions/overview.md#json-functions) 提取特定字段。以下是一个示例:
Expand Down

0 comments on commit 58b4568

Please sign in to comment.