DEV Community

Discussion on: Setup PostgreSQL with TypeORM in GraphQL Tutorial

Collapse
karladler profile image
Karl Adler

You can extract all data you need from the connection string. This module may help a lot, but it's also manually not that hard.

npmjs.com/package/pg-connection-st...

But, yeah would be really cool if typeorm supports this by default somehow.

Collapse
jimmymcbride profile image
Jimmy McBride

They do! :) Posted the answer above! 🔥