routier-collection / plugins/postgresql/src / describeTarget
Function: describeTarget()
describeTarget(
config):string
Defined in: plugins/postgresql/src/drivers/pg.ts:26
A stable, credential-free identifier for the server and database a config points at.
The regex fallback exists so a connection string URL cannot parse still yields a usable identifier rather than throwing from a constructor that previously never threw — it strips the user:password@ userinfo section, which is the only part that must not survive.
Parameters
config
Returns
string