Skip to content

SqlConnectionOptions.fromUri() #767

Closed
@gavinking

Description

@gavinking

Currently we have the useful method Pool.pool() which automatically selects the driver based on the concrete class of the given SqlConnectOptions.

But I would like a method SqlConnectionOptions.fromUri(), which automatically constructs the right type of SqlConnectOptions based on the scheme of the given URI.

(It would delegate to PgConnectOptions.fromUri(), etc.)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions