diff options
author | 2023-01-22 12:26:47 +0100 | |
---|---|---|
committer | 2023-01-22 12:26:47 +0100 | |
commit | 0ceacd7b1d0b03e3da1d552aa0bbbe7037e57e90 (patch) | |
tree | 106bd6f80fe5466522b37b5778ebc7c4fd6ab728 /vendor/github.com/uptrace/bun/query_raw.go | |
parent | [chore] Add name to instance field for autosuggestion (#1359) (diff) | |
download | gotosocial-0ceacd7b1d0b03e3da1d552aa0bbbe7037e57e90.tar.xz |
[chore] bump db dependencies (#1366)
Diffstat (limited to 'vendor/github.com/uptrace/bun/query_raw.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/query_raw.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/query_raw.go b/vendor/github.com/uptrace/bun/query_raw.go index afbe12130..7afa4d536 100644 --- a/vendor/github.com/uptrace/bun/query_raw.go +++ b/vendor/github.com/uptrace/bun/query_raw.go @@ -41,6 +41,11 @@ func (q *RawQuery) Conn(db IConn) *RawQuery { return q } +func (q *RawQuery) Err(err error) *RawQuery { + q.setErr(err) + return q +} + func (q *RawQuery) Scan(ctx context.Context, dest ...interface{}) error { if q.err != nil { return q.err |