-
Notifications
You must be signed in to change notification settings - Fork 0
/
querier.go
35 lines (30 loc) · 1.59 KB
/
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
27
28
29
30
31
32
33
34
35
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
package main
import (
"context"
"github.com/jackc/pgx/v5/pgtype"
)
type Querier interface {
CreateOrReturnID(ctx context.Context, pEmail string) (CreateOrReturnIDRow, error)
CreateThread(ctx context.Context, arg CreateThreadParams) error
CreateThreadPost(ctx context.Context, arg CreateThreadPostParams) error
GetBoardData(ctx context.Context) (GetBoardDataRow, error)
GetMember(ctx context.Context, id int64) (GetMemberRow, error)
GetMemberId(ctx context.Context, email string) (int64, error)
GetThreadForEdit(ctx context.Context, arg GetThreadForEditParams) (GetThreadForEditRow, error)
GetThreadPostForEdit(ctx context.Context, arg GetThreadPostForEditParams) (GetThreadPostForEditRow, error)
GetThreadPostSequenceId(ctx context.Context) (int64, error)
GetThreadSequenceId(ctx context.Context) (int64, error)
GetThreadSubjectById(ctx context.Context, id int64) (string, error)
ListMemberThreads(ctx context.Context, memberID int64) ([]ListMemberThreadsRow, error)
ListThreadPosts(ctx context.Context, arg ListThreadPostsParams) ([]ListThreadPostsRow, error)
ListThreads(ctx context.Context, arg ListThreadsParams) ([]ListThreadsRow, error)
UpdateBoardEditWindow(ctx context.Context, editWindow pgtype.Int4) error
UpdateBoardTitle(ctx context.Context, title string) error
UpdateMemberProfileByID(ctx context.Context, arg UpdateMemberProfileByIDParams) error
UpdateThread(ctx context.Context, arg UpdateThreadParams) error
UpdateThreadPost(ctx context.Context, arg UpdateThreadPostParams) error
}
var _ Querier = (*Queries)(nil)