Behavior of .Not(Where().Or())
has changed
#6942
Labels
type:with reproduction steps
with reproduction steps
.Not(Where().Or())
has changed
#6942
GORM Playground Link
go-gorm/playground#711
go-gorm/playground#710
Description
This is related to #6845.
The behavior of
.Not(DB.Where().Or())
has changed.In the sample code,
for v1.25.5, the playground code produces:
WHERE NOT (name = 'a' OR name = 'b')
for master, the playground code produces:
WHERE NOT (name = 'a' AND name = 'b')
The text was updated successfully, but these errors were encountered: