[chore] bump db dependencies (#1366)

This commit is contained in:
tobi 2023-01-22 12:26:47 +01:00 committed by GitHub
commit 0ceacd7b1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 141878 additions and 126068 deletions

View file

@ -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 {