LinsRuis.HW1 3 months ago
parent
commit
aa370937d2
  1. 2
      core/comms/xorms.go

2
core/comms/xorms.go

@ -14,6 +14,8 @@ func XormOneDb(db *gocloud.DBHelper, id, data interface{}, columns ...interface{
return false
}
ses := db.GetDB().NewSession()
defer ses.Close()
col := "id"
if len(columns) > 0 {
cols, ok := columns[0].(string)

Loading…
Cancel
Save