Update BUG #1599
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1599
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
好像和ID的定义有关系,改为如下会报错
ID string
xorm:"pk"
Where is the error?
UPDATE
test
SETname
= ?,remark
= ? WHEREi_d
=? [123 name2 test1 123]正确应该是:
UPDATE
test
SETname
= ?,remark
= ? WHEREi_d
=? [name2 test1 123]Which version did you use?
xorm.io/xorm v0.8.3-0.20200311032943-94fd25463869
Hi, I have sent #1602 to fix this. But and you should change
core.PK
toschemas.PK
even ifcore.PK
will be compitable after #1602 merged.第一个问题呢?非core.PK,有解决办法吗?
UPDATE test SET name = ?, remark = ? WHERE i_d=? [123 name2 test1 123]
@janse_zyd Please update to latest version and confirm this issue has been resolved.