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]


[Last Documentation]

  • Hasql
    • Hasql.URL


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,
Change log CHANGELOG.md
Dependencies base (>=4.17 && <5), bytestring (>=0.10 && <0.12), hasql (>=1.5 && <2), 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 2023-12-26T21:23:21Z
Downloads 328 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2023-12-27 [all 2 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.