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
I tried node-orm2 for the first time today. I think there is an issue on pool connection with pg driver from v7.0.
With newer version I have "TypeError: this.db.connect is not a function" error when trying to connect using pool connection. No error with "query: {pool: false}" option.
I downgraded pg driver version to 6.4.1 and it fixed the issue. But there is warning at connect: "DeprecationWarning: PG.connect is deprecated - please see the upgrade guide at https://node-postgres.com/guides/upgrading". The link explain how to resolve the connect issue.
Activity
dxg commentedon Feb 13, 2018
Yeah someone needs to add support for PG driver versions >= 7.0.
dxg commentedon Nov 4, 2019
Seems I resolved this a while ago but forgot to mention that here.
https://github.com/dresende/node-orm2/blob/master/Changelog.md#v500
#830