We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e9148 commit 3231e45Copy full SHA for 3231e45
pkg/storage/README.md
@@ -57,8 +57,9 @@ type Transaction interface {
57
BulkSave(ctx context.Context, models []any) error
58
Close(ctx context.Context) error
59
HandleError(ctx context.Context, err error) error
60
- Exec(ctx context.Context, query any, params ...any) (int, error)
61
- CopyFrom(r io.Reader, query string, args ...any) error
+ Exec(ctx context.Context, query string, params ...any) (int64, error)
+ CopyFrom(ctx context.Context, tableName string, data []Copiable) error
62
+ Tx() *bun.Tx
63
}
64
```
65
0 commit comments