CurryInfo: keydb-3.1.0 / Database.KeyDatabaseSQLite.getDBInfos

definition:
getDBInfos :: (Read a, Show a) => KeyPred a -> [Key] -> Query (Maybe [a])
getDBInfos keyPred keys = Query $
  do rows <- selectRows keyPred "_rowid_,*" $
               "where _rowid_ in (" ++ commaSep (map show keys) ++ ")"
     sortByIndexInGivenList rows
 where
  sortByIndexInGivenList rows =
    do keyInfos <- mapM readKeyInfo rows
       return $ mapM (\key -> lookup key keyInfos) keys
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Queries the information stored under the given keys. Yields
--- <code>Nothing</code> if a given key is not present.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_,_) |-> _}
name:
getDBInfos
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