hnix-store-db-0.1.0.0: Nix store database support
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Nix.Store.DB.Schema

Documentation

data ValidPath Source #

Instances

Instances details
Show ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Eq ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Ord ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistEntity ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SafeToInsert ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistField ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

(TypeError (MultipleUniqueKeysError ValidPath) :: Constraint) => AtLeastOneUniqueKey ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

(TypeError (NoUniqueKeysError ValidPath) :: Constraint) => OnlyOneUniqueKey ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistFieldSql ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

ToBackendKey SqlBackend ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "drv" DerivationOutput ValidPathId Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "hash" ValidPath Text Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "narBytes" ValidPath Word64 Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "path" ValidPath StorePath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "reference" Ref ValidPathId Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "referrer" Ref ValidPathId Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "regTime" ValidPath NixUTCTime Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "ca" ValidPath (Maybe ContentAddress) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "deriver" ValidPath (Maybe StorePath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "id" ValidPath (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "sigs" ValidPath (Maybe Text) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "ultimate" ValidPath (Maybe StorePathTrust) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

FromJSON (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

ToJSON (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Read (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Show (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Eq (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Ord (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

FromHttpApiData (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

ToHttpApiData (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PathPiece (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistField (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistFieldSql (Key ValidPath) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data EntityField ValidPath typ Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

newtype Key ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

type PersistEntityBackend ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data Unique ValidPath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data Ref Source #

Constructors

Ref 

Instances

Instances details
Show Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

showsPrec :: Int -> Ref -> ShowS #

show :: Ref -> String #

showList :: [Ref] -> ShowS #

Eq Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

(==) :: Ref -> Ref -> Bool #

(/=) :: Ref -> Ref -> Bool #

Ord Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

compare :: Ref -> Ref -> Ordering #

(<) :: Ref -> Ref -> Bool #

(<=) :: Ref -> Ref -> Bool #

(>) :: Ref -> Ref -> Bool #

(>=) :: Ref -> Ref -> Bool #

max :: Ref -> Ref -> Ref #

min :: Ref -> Ref -> Ref #

PersistEntity Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Associated Types

type PersistEntityBackend Ref #

data Key Ref #

data EntityField Ref :: Type -> Type #

data Unique Ref #

SafeToInsert Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistField Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

AtLeastOneUniqueKey Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

OnlyOneUniqueKey Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

onlyUniqueP :: Ref -> Unique Ref #

PersistFieldSql Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

sqlType :: Proxy Ref -> SqlType #

SymbolToField "reference" Ref ValidPathId Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "referrer" Ref ValidPathId Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "id" Ref (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

FromJSON (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

ToJSON (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Generic (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Associated Types

type Rep (Key Ref) :: Type -> Type #

Methods

from :: Key Ref -> Rep (Key Ref) x #

to :: Rep (Key Ref) x -> Key Ref #

Read (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Show (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

showsPrec :: Int -> Key Ref -> ShowS #

show :: Key Ref -> String #

showList :: [Key Ref] -> ShowS #

Eq (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

(==) :: Key Ref -> Key Ref -> Bool #

(/=) :: Key Ref -> Key Ref -> Bool #

Ord (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

compare :: Key Ref -> Key Ref -> Ordering #

(<) :: Key Ref -> Key Ref -> Bool #

(<=) :: Key Ref -> Key Ref -> Bool #

(>) :: Key Ref -> Key Ref -> Bool #

(>=) :: Key Ref -> Key Ref -> Bool #

max :: Key Ref -> Key Ref -> Key Ref #

min :: Key Ref -> Key Ref -> Key Ref #

PersistField (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistFieldSql (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Methods

sqlType :: Proxy (Key Ref) -> SqlType #

data EntityField Ref typ Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data Key Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

type PersistEntityBackend Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data Unique Ref Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

type Rep (Key Ref) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

type Rep (Key Ref) = D1 ('MetaData "Key" "System.Nix.Store.DB.Schema" "hnix-store-db-0.1.0.0-5XvUndupfjiDMGGv9nrnBa" 'False) (C1 ('MetaCons "RefKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "refKeyreferrer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidPathId) :*: S1 ('MetaSel ('Just "refKeyreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidPathId)))

data DerivationOutput Source #

Instances

Instances details
Show DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Eq DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Ord DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistEntity DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SafeToInsert DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistField DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

AtLeastOneUniqueKey DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

OnlyOneUniqueKey DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistFieldSql DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "drv" DerivationOutput ValidPathId Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "name" DerivationOutput Text Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "path" DerivationOutput StorePath Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

SymbolToField "id" DerivationOutput (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

FromJSON (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

ToJSON (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Generic (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Associated Types

type Rep (Key DerivationOutput) :: Type -> Type #

Read (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Show (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Eq (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

Ord (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistField (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

PersistFieldSql (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data EntityField DerivationOutput typ Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data Key DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

type PersistEntityBackend DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

data Unique DerivationOutput Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

type Rep (Key DerivationOutput) Source # 
Instance details

Defined in System.Nix.Store.DB.Schema

type Rep (Key DerivationOutput) = D1 ('MetaData "Key" "System.Nix.Store.DB.Schema" "hnix-store-db-0.1.0.0-5XvUndupfjiDMGGv9nrnBa" 'False) (C1 ('MetaCons "DerivationOutputKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "derivationOutputKeydrv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidPathId) :*: S1 ('MetaSel ('Just "derivationOutputKeyname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))