Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove json limitation #1296

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading