You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explain what kind of behaviour you are getting and how you think it should do
Using knex to insert an array into a PostgreSQL array column causes the array to be stringified, whereas node-pg expects it to be an array type. This looks to be introduced by #5321
Reduced test code, for example in https://npm.runkit.com/knex or if it needs real
database connection to MySQL or PostgreSQL, then single file example which initializes
needed data and demonstrates the problem.
Environment
Knex version: master
Database + version: PostgreSQL 12.6
OS: Ubuntu 18.04
Bug
Using
knex
to insert an array into a PostgreSQL array column causes the array to be stringified, whereasnode-pg
expects it to be an array type. This looks to be introduced by #5321database connection to MySQL or PostgreSQL, then single file example which initializes
needed data and demonstrates the problem.
Given a table with the structure:
The text was updated successfully, but these errors were encountered: