mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 08:33:02 -06:00
[chore] bump db dependencies (#1366)
This commit is contained in:
parent
b375d3b5d6
commit
0ceacd7b1d
78 changed files with 141878 additions and 126068 deletions
10
vendor/github.com/uptrace/bun/query_select.go
generated
vendored
10
vendor/github.com/uptrace/bun/query_select.go
generated
vendored
|
|
@ -61,9 +61,17 @@ func (q *SelectQuery) Model(model interface{}) *SelectQuery {
|
|||
return q
|
||||
}
|
||||
|
||||
func (q *SelectQuery) Err(err error) *SelectQuery {
|
||||
q.setErr(err)
|
||||
return q
|
||||
}
|
||||
|
||||
// Apply calls the fn passing the SelectQuery as an argument.
|
||||
func (q *SelectQuery) Apply(fn func(*SelectQuery) *SelectQuery) *SelectQuery {
|
||||
return fn(q)
|
||||
if fn != nil {
|
||||
return fn(q)
|
||||
}
|
||||
return q
|
||||
}
|
||||
|
||||
func (q *SelectQuery) With(name string, query schema.QueryAppender) *SelectQuery {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue