persistable-record

Binding between SQL database values and haskell records.

http://khibino.github.io/haskell-relational-record/

Version on this page:0.6.0.4
LTS Haskell 22.43:0.6.0.6
Stackage Nightly 2024-12-08:0.6.0.6
Latest on Hackage:0.6.0.6

See all snapshots persistable-record appears in

BSD-3-Clause licensed by Kei Hibino
Maintained by [email protected]
This version can be pinned in stack with:persistable-record-0.6.0.4@sha256:e5794fc14974467bed6b14784e001754b5474a96c00a7b51f4b81d1db50f57ed,2761

This package contiains types to represent table constraints and interfaces to bind between SQL database values and Haskell records.

Changes

0.6.0.3

  • fix example of NameConfig customization.

0.6.0.2

  • bugfix: pass correct table name to macro for field label defintion.

0.6.0.1

  • fix changelog.
  • fix typo.

0.6.0.0

  • divide and apply product-isomorphic interfaces.
  • check width of Int type and add instances.

0.5.1.1

  • update this changelog.

0.5.1.0

  • add class dependency from ToSql to PersistableWidth.

0.5.0.2

  • add tested-with 8.2.1.

0.5.0.1

  • use Haskell implementation test instead of flag test in .cabal

0.5.0.0

  • add generic instances of FromSql, ToSql and PersistableWidth.

0.4.1.1

  • Tested with GHC 8.0.2
  • Add a small test set.

0.4.1.0

  • Export columnName of NameConfig.

0.4.0.3

  • Drop an unreferenced definition.

0.4.0.2

  • Add tested-with.

0.4.0.1

  • Apply th-data-compat.

0.4.0.0

  • Divide PersistableValue interface to FromSql and ToSql.

0.3.0.0

  • Add symbol name configurations of templates.

0.2.0.0

  • TH quotation of derive class names.