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

hackage.haskell.org : hasql-postgresql-types

Provides automatic encoder and decoder generation for "hasql", supporting all PostgreSQL types defined in the "postgresql-types" package. The standard "hasql" codecs use common Haskell types like Text, DiffTime, UTCTime, etc. However these types do not always map precisely to PostgreSQL types. E.g., the PostgreSQL interval type carries information about months, years and microseconds, while the Haskell DiffTime type only represents a time difference in picoseconds. Such mismatches can lead to data loss or unexpected behavior. The "postgresql-types" library addresses such issues by providing precise Haskell representations for PostgreSQL types. This package integrates it with "hasql". It also provides a class-based polymorphic interface for defining "hasql" Value codecs.

Registry - Source - JSON - codemeta.json
purl: pkg:hackage/hasql-postgresql-types
Keywords: codecs , hasql , library , mit , postgresql , Propose Tags
License: MIT
Latest release: 8 days ago
First release: 9 days ago
Downloads: 6 total
Last synced: 1 day ago

0.1.0.1
Published: 8 days ago
Registry - Download
0.1
Published: 9 days ago
Registry - Download