hasql-url: Parse PostgreSQL connection URI into Hasql.Connection Settings

[ library, mit, utility ] [ Propose Tags ]

The Hasql.URL module in this package exports a helper function parseDatabaseUrl to construct Settings from a URI (or string). . >>> parseDatabaseUrl "postgres://username:passwordlocalhost:5433/database" Just "host=localhost port=5433 user=username password=password dbname=database" @

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Change log CHANGELOG.md
Dependencies base (>=4.14 && <5), bytestring (>=0.10 && <0.11), hasql (>=1.5 && <1.6), network-uri (>=2.6.3 && <2.7), split (>=0.2.3 && <0.3) [details]
License MIT
Copyright 2020 Nadeem Bitar
Author Nadeem Bitar
Maintainer Nadeem Bitar <nadeem@gmail.com>
Category Utility
Home page https://github.com/shinzui/hasql-url
Bug tracker https://github.com/shinzui/hasql-url/issues
Source repo head: git clone https://github.com/shinzui/hasql-url.git
Uploaded by shinzui at 2022-04-29T02:49:30Z
Downloads 222 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-04-29 [all 1 reports]

Readme for hasql-url-

[back to package description]


GitHub CI Hackage MIT license

URL parser for hasql. This package is a direct port of postgresql-simple-url.