forked from sqlc-dev/sqlc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
querier.go
26 lines (21 loc) · 979 Bytes
/
querier.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.20.0
package batch
import (
"context"
"github.com/jackc/pgconn"
)
type Querier interface {
BooksByYear(ctx context.Context, year []int32) *BooksByYearBatchResults
CreateAuthor(ctx context.Context, name string) (Author, error)
CreateBook(ctx context.Context, arg []CreateBookParams) *CreateBookBatchResults
DeleteBook(ctx context.Context, bookID []int32) *DeleteBookBatchResults
DeleteBookExecResult(ctx context.Context, bookID int32) (pgconn.CommandTag, error)
DeleteBookNamedFunc(ctx context.Context, bookID []int32) *DeleteBookNamedFuncBatchResults
DeleteBookNamedSign(ctx context.Context, bookID []int32) *DeleteBookNamedSignBatchResults
GetAuthor(ctx context.Context, authorID int32) (Author, error)
GetBiography(ctx context.Context, authorID []int32) *GetBiographyBatchResults
UpdateBook(ctx context.Context, arg []UpdateBookParams) *UpdateBookBatchResults
}
var _ Querier = (*Queries)(nil)