Knex doesn't work on Workers
Using the same config that I'm using in my express module, I can't get Knex (with 'pg') working due to the following error:
Internally,
_acquireOnlyConnection
does a require('pg');
.
Moreover, their Client class uses EventEmitter
, but I am using compatibility_flags = ["nodejs_compat"]
What could the issue be? I saw an article saying there's support for knex.0 Replies