upstep bun version (#243)

This commit is contained in:
tobi
2021-09-23 11:13:28 +02:00
committed by GitHub
parent ddfd83d0fb
commit 142f37f1bd
23 changed files with 146 additions and 57 deletions

View File

@ -155,7 +155,7 @@ func (q *DeleteQuery) AppendQuery(fmter schema.Formatter, b []byte) (_ []byte, e
return upd.AppendQuery(fmter, b)
}
q = q.WhereAllWithDeleted()
q = q.WhereDeleted()
withAlias := q.db.features.Has(feature.DeleteTableAlias)
b, err = q.appendWith(fmter, b)