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

definition:
insertEntry :: EntityDescription a -> a -> DBAction ()
insertEntry ed ent =
  let query = "insert into '" ++ getTable ed ++
              "' values("++ questionmarks ed ++");"
  in execute query ((getToInsertValues ed) ent)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Inserts an entry into the database.
--- @param ed - The EntityDescription that describes the entity to be saved
--- @param ent - The entry to be inserted
--- @return a `DBAction` with a void result
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> _}
name:
insertEntry
precedence:
no precedence defined
result-values:
_
signature:
Database.CDBI.Description.EntityDescription a -> a
-> Database.CDBI.Connection.DBAction ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term