Instantiate massive with an existing pg connection/pool
is it possible to instantiate massive with an existing pg's connection or pool instead of creating a new one from scratch?
I want to use massive along with postgraphile, and I'd like the two libraries to share the same pool.
It's already possible to give postgraphile an instantiated pool.
In fact, database.clone() seems to be the right function for my use case (having a massivejs instance with an external pg's transaction).
Now I need to figure out if pg-promise is able to do the same, as clone() accepts a pg-promise's transaction and not a pg's one.