CurryInfo: ertools-3.0.0 / Database.ERD.Generic.existsEntryWithDBKey

definition: Info
 
existsEntryWithDBKey :: (Read t, Show t) =>
                        String -> (Key -> t -> Dynamic) -> Key -> Transaction ()
existsEntryWithDBKey ename entrypred key =
  getDB (getDBInfo entrypred key) |>>=
  maybe (errorT (TError KeyNotExistsError
                        ("database contains no entry for key: "++show key 
                         ++" in table: "++ename))  )
        (const doneT)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
If there is no entry with a given key, raise a transaction error.
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_,_) |-> _}
name: Info
 existsEntryWithDBKey
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (Prelude.Read a, Prelude.Show a) => String -> (Prelude.Int -> a
-> Database.KeyDatabaseSQLite.Dynamic) -> Prelude.Int
-> Database.KeyDatabaseSQLite.Transaction ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term