postgresql-typed: A PostgreSQL access library with compile-time SQL type inference
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Automatically type-check SQL statements at compile time. Uses Template Haskell and the raw PostgreSQL protocol to describe SQL statements at compile time and provide appropriate type marshalling for both parameters and results. Allows not only syntax verification of your SQL but also full type safety between your SQL and Haskell. Supports many built-in PostgreSQL types already, including arrays and ranges, and can be easily extended in user code to support any other types. Originally based on Chris Forno's templatepg library.
Properties
Versions | 0.3.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.1, 0.4.2, 0.4.2.1, 0.4.2.2, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.5.1, 0.5.2, 0.5.3.0, 0.6, 0.6.0.1, 0.6.1.0, 0.6.1.1, 0.6.1.2, 0.6.2.0, 0.6.2.1, 0.6.2.2, 0.6.2.3, 0.6.2.4, 0.6.2.5 |
---|---|
Change log | None available |
Dependencies | array, base (>=4.7 && <5), binary, bytestring (>=0.10.2), containers, cryptohash (>=0.5), haskell-src-meta, network, old-locale, parsec, postgresql-binary (>=0.5.0), scientific (>=0.3), template-haskell, text (>=1), time, utf8-string, uuid (>=1.3) [details] |
License | BSD-3-Clause |
Copyright | 2010-2013 Chris Forno, 2014-2015 Dylan Simon |
Author | Dylan Simon |
Maintainer | dylan@dylex.net |
Category | Database |
Home page | https://github.com/dylex/postgresql-typed |
Bug tracker | https://github.com/dylex/postgresql-typed/issues |
Source repo | head: git clone git://github.com/dylex/postgresql-typed |
Uploaded | by DylanSimon at 2015-01-05T02:47:16Z |
Modules
[Index]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
md5 | Enable md5 password authentication method. | Enabled |
binary | Use binary protocol encoding via postgresql-binary. This may put additional restrictions on supported PostgreSQL server versions. | Enabled |
text | Support Text string values via text (implied by binary). | Enabled |
uuid | Support the UUID type via uuid (implied by binary). | Enabled |
scientific | Support decoding numeric via scientific (implied by binary). | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- postgresql-typed-0.3.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees