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

2
core/comms/xorms.go

@ -17,7 +17,7 @@ func XormOneDb(db *gocloud.DBHelper, id, data interface{}, columns ...interface{
col := "id"
if len(columns) > 0 {
cols, ok := columns[0].(string)
if ok {
if ok && cols != "" {
col = cols
} else {
ses = ses.Table(columns[0])

Loading…
Cancel
Save