persistable-record

Binding between SQL database values and haskell records.

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

Version on this page:0.5.0.1
LTS Haskell 22.17:0.6.0.6
Stackage Nightly 2024-04-14: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.5.0.1@sha256:5d6d9700ada2519f3a583393a82665d1be6f1786ef52172df15fb48b8d7d5952,2593

Module documentation for 0.5.0.1

  • Database
    • Database.Record
      • Database.Record.FromSql
      • Database.Record.Instances
      • Database.Record.KeyConstraint
      • Database.Record.Persistable
      • Database.Record.TH
      • Database.Record.ToSql
      • Database.Record.TupleInstances

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

Changes

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.