postgresql-simple-named: Implementation of named parameters for `postgresql-simple` library
Implementation of named parameters for postgresql-simple library.
Here is an exaple of how it could be used in your code:
queryNamed dbConnection [sql|
SELECT *
FROM table
WHERE foo = ?foo
AND bar = ?bar
AND baz = ?foo
|] [ "foo" =? "fooBar"
, "bar" =? "barVar"
]
[Skip to Readme]
Downloads
- postgresql-simple-named-0.0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.0.0.0, 0.0.1.0, 0.0.2.0, 0.0.3.0, 0.0.4.0, 0.0.5.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.11 && <4.13), bytestring (>=0.10.8 && <0.11), mtl (>=2.2 && <2.3), postgresql-simple (>=0.6.2 && <0.7), text (>=1.2 && <1.3) [details] |
| Tested with | ghc ==8.4.4, ghc ==8.6.5 |
| License | MPL-2.0 |
| Copyright | 2019 Holmusk |
| Author | Veronika Romashkina, Dmitrii Kovanikov |
| Maintainer | Holmusk <[email protected]> |
| Category | Database, PostgreSQL |
| Home page | https://github.com/Holmusk/postgresql-simple-named |
| Bug tracker | https://github.com/Holmusk/postgresql-simple-named/issues |
| Source repo | head: git clone https://github.com/Holmusk/postgresql-simple-named.git |
| Uploaded | by shersh at 2019-07-23T03:55:40Z |
| Distributions | |
| Downloads | 1866 total (23 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2019-07-23 [all 1 reports] |