mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-07 09:19:32 -06:00
bumps our uptrace/bun dependencies to v1.2.10 (#3865)
This commit is contained in:
parent
97adf00cd4
commit
12d4d36bc8
37 changed files with 518 additions and 225 deletions
5
vendor/github.com/uptrace/bun/query_insert.go
generated
vendored
5
vendor/github.com/uptrace/bun/query_insert.go
generated
vendored
|
|
@ -114,7 +114,7 @@ func (q *InsertQuery) ExcludeColumn(columns ...string) *InsertQuery {
|
|||
// Value overwrites model value for the column.
|
||||
func (q *InsertQuery) Value(column string, expr string, args ...interface{}) *InsertQuery {
|
||||
if q.table == nil {
|
||||
q.err = errNilModel
|
||||
q.setErr(errNilModel)
|
||||
return q
|
||||
}
|
||||
q.addValue(q.table, column, expr, args)
|
||||
|
|
@ -586,6 +586,9 @@ func (q *InsertQuery) scanOrExec(
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// if a comment is propagated via the context, use it
|
||||
setCommentFromContext(ctx, q)
|
||||
|
||||
// Generate the query before checking hasReturning.
|
||||
queryBytes, err := q.AppendQuery(q.db.fmter, q.db.makeQueryBytes())
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue