Class PostgresConnectionString
- Namespace
- Integrations.Infrastructure.Persistence
- Assembly
- Integrations.Infrastructure.dll
Accepts both Npgsql key/value connection strings and the URL form most hosted Postgres providers hand out
(postgresql://user:pass@host:5432/db?sslmode=require&channel_binding=require, e.g. Neon, Render, Heroku).
public static class PostgresConnectionString
- Inheritance
-
PostgresConnectionString
- Inherited Members
Methods
Normalize(string)
Returns an Npgsql key/value connection string; URL forms are converted, others returned unchanged.
public static string Normalize(string value)
Parameters
valuestring