{ls}
in
fso <- oneOrNoRows (SELECT tab.{{map fst M.cols}} FROM tab WHERE tab.Id = {[id]});
case fso : (Basis.option {Tab : $(map fst M.cols)}) of
None => return Not found!
| Some fs => return
end
and confirm (id : int) =
let
fun delete () =
dml (DELETE FROM tab WHERE Id = {[id]});
ls <- list ();
return
The deed is done.
{ls}
in
return
Are you sure you want to delete ID #{[id]}?
end
and main () =
ls <- list ();
return {cdata M.title}