BreakChange: NoAutoCondition 不再影响deleted条件生成,deleted条件仅由Unscoped控制 #2418
No reviewers
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#2418
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "CyJaySong/xorm:v1"
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?
BreakChange: NoAutoCondition 不再影响deleted条件生成,deleted条件仅由Unscoped控制, 之前 NoAutoCondition 不会干扰Find自动生成deleted条件,但是Get查询会干扰,逻辑不一致
BreakChange: FindAndCount 函数Count 查询 与 Find 查询的条件保持一致,之前Count时会加一个Unscoped, 导致Count结果 包含了已删除数量,但是Find结果并不包含已删除数据
a
(#2343) 9c82535c2eWIP: v1 BreakChange: NoAutoCondition 不再影响deleted条件生成,deleted条件仅由Unscoped控制to BreakChange: NoAutoCondition 不再影响deleted条件生成,deleted条件仅由Unscoped控制我觉得这个就放到 v1.4.x 发版也没问题,怎么会有这么恶性的bug的
可能是FindAndCount这个函数很少人用吧
Checkout
From your project repository, check out a new branch and test the changes.