1234567891011121314151617 |
- package models
- // func DeleteBdRows(qryname string, y *abango.Controller, id int) error {
- // fileQry := "queries/triggers/delete" + qryname + ".sql"
- // sqlStr, err := abango.GetQryStr(fileQry)
- // if err != nil {
- // return errors.New(e.FuncRunErr("ewtrytbvfgr", fileQry+" file does NOT exist."))
- // }
- // if _, err := y.Db.Exec(sqlStr, id); err == nil {
- // e.FuncRun("65rfg0csde", qryname+" "+e.CurrFuncName())
- // return nil
- // } else {
- // return errors.New(e.FuncRunErr("65rfg0csdew", qryname+" "+e.CurrFuncName()+err.Error()))
- // }
- // }
|