Skip to content

Commit 3231e45

Browse files
Fix: README.md
1 parent a9e9148 commit 3231e45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/storage/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ type Transaction interface {
5757
BulkSave(ctx context.Context, models []any) error
5858
Close(ctx context.Context) error
5959
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
60+
Exec(ctx context.Context, query string, params ...any) (int64, error)
61+
CopyFrom(ctx context.Context, tableName string, data []Copiable) error
62+
Tx() *bun.Tx
6263
}
6364
```
6465

0 commit comments

Comments
 (0)