cockroachdb / cockroachdb/sequelize-cockroachdb
Sequelize CockroachDB Array Type Syntax Incorrect
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 55
- Fork
- 18
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
When creating an array, sequelize executes this command:
```
INSERT INTO "channels" ("subjects") VALUES (ARRAY[]::VARCHAR(255)[]) RETURNING *;'
```
However this results in CockroachDB throwing an error:
```
pq: cannot determine type of empty array. Consider annotating with the desired type, for example ARRAY[]:::int[]
```
But if we use 3 colons instead of two such as `ARRAY[]:::VARCHAR(255)[]` the function works as expected.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.