The New Connection from URL button does not allow creating connections via database URIs.
Proposed Solution:
- Show a dialog prompting for a connection URI (e.g.
postgresql://user:pass@host:port/db).
- Parse the URI using
Uri.parse.
- Build a
ConnectionRow object from the parsed parts.
- Save it to
LocalDb.instance.addConnection(...) and refresh the connections tree.
The
New Connection from URLbutton does not allow creating connections via database URIs.Proposed Solution:
postgresql://user:pass@host:port/db).Uri.parse.ConnectionRowobject from the parsed parts.LocalDb.instance.addConnection(...)and refresh the connections tree.