definition:
|
executeRaw :: String -> [String] -> DBAction [[String]]
executeRaw query para =
case insertParams query para of
Left err -> failDB err
Right qu -> DBAction $ \conn -> do
writeConnection qu conn
parseLines conn
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Executes an SQL statement.
--- The statement may contain '?' placeholders and a list of parameters which
--- should be inserted at the respective positions.
--- The result is a list of list of strings where every single list
--- represents a row of the result.
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_) |-> _}
|
name:
|
executeRaw
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
String -> [String] -> DBAction [[String]]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|