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

add sequelize section to Dev Guide 3rd party tools compatibility (#11654) #11993

Merged
merged 12 commits into from
Nov 15, 2022
Prev Previous commit
Next Next commit
Update dev-guide-third-party-tools-compatibility.md
  • Loading branch information
shczhen authored and ti-chi-bot committed Nov 15, 2022
commit 1d35861786a7084b8efbfdc0d7439bf5ef123fc2
21 changes: 1 addition & 20 deletions develop/dev-guide-third-party-tools-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ TiDB 对其进行了两个维度的修复:

基于 [Sequelize v6.21.4](https://www.npmjs.com/package/sequelize/v/6.21.4) 测试。

根据测试结果,TiDB 支持绝大部分 Sequelize 功能(使用 MySQL8 作为方言),不支持的功能主要有
根据测试结果,TiDB 支持绝大部分 Sequelize 功能(使用 MySQL8 作为方言),不支持的功能有

- 不支持与外键约束相关的功能(包括多对多关联);
- 不支持`GEOMETRY`相关;
Expand All @@ -171,19 +171,6 @@ TiDB 对其进行了两个维度的修复:
- 默认不允许修改列的`AUTO_INCREMENT`属性;
- 不支持`FULLTEXT`、`HASH`和`SPATIAL`索引;

### 不支持与外键约束相关的功能

**描述**

1. TiDB 不支持外键约束。
2. [Sequelize 的多对多关系](https://sequelize.org/docs/v6/core-concepts/assocs/#philosophy-2)使用了一个额外的模型,该模型将具有两个外键列。因此,Sequelize 无法在 TiDB 上使用多对多关系。

### 不支持`GEOMETRY`相关

**描述**

TiDB 不支持空间类型的函数(即`SPATIAL`,或者`GIS`/`GEOMETRY`)、数据类型和索引。

### 不支持删除整数主键

**描述**
Expand All @@ -195,12 +182,6 @@ TiDB 不支持空间类型的函数(即`SPATIAL`,或者`GIS`/`GEOMETRY`)

[使用 `AUTO_RANDOM` 处理自增主键热点表](/troubleshoot-hot-spot-issues.md#使用-auto_random-处理自增主键热点表),而不是 `AUTO_INCREMENT`。

### 不支持`PROCEDURE`相关

**描述**

TiDB 不支持存储过程。

### 不支持`SERIALIZABLE`隔离级别

**描述**
Expand Down