mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 15:52:26 -05:00
migrate go version to 1.17 (#203)
* migrate go version to 1.17 * update contributing
This commit is contained in:
parent
e681aac589
commit
f2e5bedea6
282 changed files with 11863 additions and 12600 deletions
6
vendor/github.com/uptrace/bun/query_select.go
generated
vendored
6
vendor/github.com/uptrace/bun/query_select.go
generated
vendored
|
|
@ -359,6 +359,10 @@ func (q *SelectQuery) selectJoins(ctx context.Context, joins []relationJoin) err
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
func (q *SelectQuery) Operation() string {
|
||||
return "SELECT"
|
||||
}
|
||||
|
||||
func (q *SelectQuery) AppendQuery(fmter schema.Formatter, b []byte) (_ []byte, err error) {
|
||||
return q.appendQuery(fmter, b, false)
|
||||
}
|
||||
|
|
@ -523,7 +527,7 @@ func (q *SelectQuery) appendColumns(fmter schema.Formatter, b []byte) (_ []byte,
|
|||
b = append(b, ", "...)
|
||||
}
|
||||
|
||||
if col.Args == nil {
|
||||
if col.Args == nil && q.table != nil {
|
||||
if field, ok := q.table.FieldMap[col.Query]; ok {
|
||||
b = append(b, q.table.SQLAlias...)
|
||||
b = append(b, '.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue