CurryInfo: cdbi-3.2.0 / Database.CDBI.ER.getCondEntries

definition:
getCondEntries :: EntityDescription a -> (a -> Bool) -> DBAction [a]
getCondEntries endescr encond = do
  vals <- getAllEntries endescr
  return (filter encond vals)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Gets all entries of an entity satisfying a given condition.
--- @param endescr - the EntityDescription describing the entities
--- @param cond    - a predicate on entities
--- @return a DB result with the list of entries if everything went right,
---          or an error if something went wrong
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> _}
name:
getCondEntries
precedence:
no precedence defined
result-values:
_
signature:
Database.CDBI.Description.EntityDescription a -> (a -> Prelude.Bool)
-> Database.CDBI.Connection.DBAction [a]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term