Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for building an endpoint from a connection string #341

Open
chimon2000 opened this issue Jul 12, 2024 · 1 comment
Open

Support for building an endpoint from a connection string #341

chimon2000 opened this issue Jul 12, 2024 · 1 comment

Comments

@chimon2000
Copy link

Does this library support opening a connection using just a connection string?

@isoos
Copy link
Owner

isoos commented Jul 12, 2024

Only a typed endpoint object is supported:
https://pub.dev/documentation/postgres/latest/postgres/Endpoint-class.html

You may easily parse a connection string via Uri.parse and get the different parts into the Endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants