CurryInfo: keydb-3.1.0 / Database.KeyDatabaseSQLite.getDBInfo

definition:
getDBInfo :: (Read a, Show a) => KeyPred a -> Key -> Query (Maybe a)
getDBInfo keyPred key = Query $
  do rows <- selectRows keyPred "*" $ "where _rowid_ = " ++ show key
     readHeadIfExists rows
 where
  readHeadIfExists []    = return Nothing
  readHeadIfExists (x:_) = return $!! Just (readInfo x)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Queries the information stored under the given key. Yields
--- <code>Nothing</code> if the given key is not present.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_,_) |-> _}
name:
getDBInfo
precedence:
no precedence defined
result-values:
_
signature:
(Prelude.Read a, Prelude.Show a) => (Prelude.Int -> a -> Dynamic) -> Prelude.Int
-> Query (Prelude.Maybe a)
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term