cockroachdb / cockroachdb/sequelize-cockroachdb
Sequelize CockroachDB Array Type Syntax Incorrect
オープン
- 主要言語
- JavaScript
- スター
- 55
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。