Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module Database.Record.Persistable

    This module defines proposition interfaces for database value type and record type width.

  2. type PersistableRecordWidth a = ProductConst Sum Int a

    persistable-record Database.Record.Persistable

    Proposition to specify width of Haskell type a. The width is length of database value list which is converted from Haskell type a.

  3. data PersistableSqlType q

    persistable-record Database.Record.Persistable

    Proposition to specify type q is database value type, contains null value

  4. class Eq q => PersistableType q

    persistable-record Database.Record.Persistable

    Interface of derivation rule for PersistableSqlType.

  5. class PersistableWidth a

    persistable-record Database.Record.Persistable

    PersistableWidth a is implicit rule to derive PersistableRecordWidth a width proposition for type a. Generic programming (https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#generic-programming) with default signature is available for PersistableWidth class, so you can make instance like below:

    {-# LANGUAGE DeriveGeneric #-}
    import GHC.Generics (Generic)
    --
    data Foo = Foo { ... } deriving Generic
    instance PersistableWidth Foo
    

  6. module Database.HDBC.Record.Persistable

    This module provides HDBC instance definitions of DB-record.

  7. module Database.HDBC.PostgreSQL.Persistable

    This module defines Persistable instances for PostgreSQL types

  8. module Database.Persist.Monad.Internal.PersistentShim

    No documentation available.

  9. PersistArray :: [PersistValue] -> PersistValue

    persistent-mtl Database.Persist.Sql.Shim

    Intended especially for PostgreSQL backend for text arrays

  10. PersistBool :: Bool -> PersistValue

    persistent-mtl Database.Persist.Sql.Shim

    No documentation available.

Page 25 of many | Previous | Next