An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

postgresql-typed

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. Also includes an optional HDBC backend that, since it uses the raw PostgreSQL protocol, may be more efficient than the normal libpq backend in some cases (though provides no more type safety than HDBC-postgresql when used without templates). Originally based on Chris Forno's templatepg library.

Ecosystem
hackage.haskell.org
Latest Release
0.5.2
over 8 years ago
Versions
27
Downloads
16,069 total
Dependent Repos
24
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/postgresql-typed
spec
License BSD-3-Clause
First Release about 11 years ago
Last Synced 18 days ago
Repository
Stars 89 on GitHub
Forks 12 on GitHub