Skip to content

Commit

Permalink
🐝 fix args error
Browse files Browse the repository at this point in the history
  • Loading branch information
orca-zhang committed Mar 11, 2020
1 parent 52df0b0 commit 0b26252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion borm.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ func (t *BormTable) Update(obj interface{}, args ...BormItem) (int, error) {
} else {
sb.WriteString("=?")
stmtArgs = append(stmtArgs, v)
argCnt++
}
argCnt++
}
}
} else {
Expand Down

0 comments on commit 0b26252

Please sign in to comment.