mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 22:43:17 -06:00
[chore]: Bump github.com/uptrace/bun/extra/bunotel from 1.2.8 to 1.2.9
Bumps [github.com/uptrace/bun/extra/bunotel](https://github.com/uptrace/bun) from 1.2.8 to 1.2.9. - [Release notes](https://github.com/uptrace/bun/releases) - [Changelog](https://github.com/uptrace/bun/blob/v1.2.9/CHANGELOG.md) - [Commits](https://github.com/uptrace/bun/compare/v1.2.8...v1.2.9) --- updated-dependencies: - dependency-name: github.com/uptrace/bun/extra/bunotel dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
2a46681147
commit
ce93f4b437
32 changed files with 724 additions and 207 deletions
13
vendor/github.com/uptrace/bun/query_update.go
generated
vendored
13
vendor/github.com/uptrace/bun/query_update.go
generated
vendored
|
|
@ -32,8 +32,7 @@ func NewUpdateQuery(db *DB) *UpdateQuery {
|
|||
q := &UpdateQuery{
|
||||
whereBaseQuery: whereBaseQuery{
|
||||
baseQuery: baseQuery{
|
||||
db: db,
|
||||
conn: db.DB,
|
||||
db: db,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -65,12 +64,12 @@ func (q *UpdateQuery) Apply(fns ...func(*UpdateQuery) *UpdateQuery) *UpdateQuery
|
|||
return q
|
||||
}
|
||||
|
||||
func (q *UpdateQuery) With(name string, query schema.QueryAppender) *UpdateQuery {
|
||||
func (q *UpdateQuery) With(name string, query Query) *UpdateQuery {
|
||||
q.addWith(name, query, false)
|
||||
return q
|
||||
}
|
||||
|
||||
func (q *UpdateQuery) WithRecursive(name string, query schema.QueryAppender) *UpdateQuery {
|
||||
func (q *UpdateQuery) WithRecursive(name string, query Query) *UpdateQuery {
|
||||
q.addWith(name, query, true)
|
||||
return q
|
||||
}
|
||||
|
|
@ -207,7 +206,7 @@ func (q *UpdateQuery) WhereAllWithDeleted() *UpdateQuery {
|
|||
// ------------------------------------------------------------------------------
|
||||
func (q *UpdateQuery) Order(orders ...string) *UpdateQuery {
|
||||
if !q.hasFeature(feature.UpdateOrderLimit) {
|
||||
q.err = errors.New("bun: order is not supported for current dialect")
|
||||
q.err = feature.NewNotSupportError(feature.UpdateOrderLimit)
|
||||
return q
|
||||
}
|
||||
q.addOrder(orders...)
|
||||
|
|
@ -216,7 +215,7 @@ func (q *UpdateQuery) Order(orders ...string) *UpdateQuery {
|
|||
|
||||
func (q *UpdateQuery) OrderExpr(query string, args ...interface{}) *UpdateQuery {
|
||||
if !q.hasFeature(feature.UpdateOrderLimit) {
|
||||
q.err = errors.New("bun: order is not supported for current dialect")
|
||||
q.err = feature.NewNotSupportError(feature.UpdateOrderLimit)
|
||||
return q
|
||||
}
|
||||
q.addOrderExpr(query, args...)
|
||||
|
|
@ -225,7 +224,7 @@ func (q *UpdateQuery) OrderExpr(query string, args ...interface{}) *UpdateQuery
|
|||
|
||||
func (q *UpdateQuery) Limit(n int) *UpdateQuery {
|
||||
if !q.hasFeature(feature.UpdateOrderLimit) {
|
||||
q.err = errors.New("bun: limit is not supported for current dialect")
|
||||
q.err = feature.NewNotSupportError(feature.UpdateOrderLimit)
|
||||
return q
|
||||
}
|
||||
q.setLimit(n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue