mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 07:33:01 -06:00
[chore] bump bun v1.1.14 -> v1.1.15 (#2195)
This commit is contained in:
parent
23dd6f664c
commit
7011f57b09
27 changed files with 273 additions and 90 deletions
7
vendor/github.com/uptrace/bun/relation_join.go
generated
vendored
7
vendor/github.com/uptrace/bun/relation_join.go
generated
vendored
|
|
@ -178,7 +178,12 @@ func (j *relationJoin) m2mQuery(q *SelectQuery) *SelectQuery {
|
|||
baseTable := j.BaseModel.Table()
|
||||
|
||||
if j.Relation.M2MTable != nil {
|
||||
q = q.ColumnExpr(string(j.Relation.M2MTable.SQLAlias) + ".*")
|
||||
fields := append(j.Relation.M2MBaseFields, j.Relation.M2MJoinFields...)
|
||||
|
||||
b := make([]byte, 0, len(fields))
|
||||
b = appendColumns(b, j.Relation.M2MTable.SQLAlias, fields)
|
||||
|
||||
q = q.ColumnExpr(internal.String(b))
|
||||
}
|
||||
|
||||
//nolint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue