serverless-pg
serverless-pg copied to clipboard
[Request] Possibility to use pg.Pool instead.
Ciao @MatteoGioioso
I'd like to request a feature/enhancement to allow using pg.Pool
instead, just to simplify its usage and avoid cleaning/ending.
It could be simply a property on the constructor that makes usage or new Pool(...)
instead.
Thanks!
Hello
Sorry for the late reply.
Yes, it would simplify the code I guess, however I am not sure we would have the same level of control over the connections. I think at some point I came to the conclusion that it was not possible to use it, but I might be mistaken; if you have a plan on how to implement it that would be great.
Thanks