Open rhys-vdw opened 5 years ago
This would be a nice addition. Open to PRs?
Apparently all ENV vars that https://node-postgres.com/features/connecting#environment-variables supports also works with this cli. Do you see DSN env var listed here?
I'm not sure about the usefulness of this feature and it doesn't seem to be able to be elegantly implemented... The underlying clients seem to not really work with connection strings. I'd look over a PR implementing this though if you think this would be useful
Would be it be possible to support a single DSN argument rather than the host/db/username/pass vars?
(Might be more appropriate to open this issue at postgrator itself)