2023-09-08 22:24:58 +07:00
|
|
|
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
// versions:
|
2024-02-06 11:55:25 +07:00
|
|
|
// sqlc v1.25.0
|
2023-09-08 22:24:58 +07:00
|
|
|
|
|
|
|
package db
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
2024-02-06 11:55:25 +07:00
|
|
|
|
|
|
|
"github.com/jackc/pgx/v5/pgtype"
|
2023-09-08 22:24:58 +07:00
|
|
|
)
|
|
|
|
|
|
|
|
type Querier interface {
|
2023-10-03 16:14:58 +07:00
|
|
|
AddFollowUser(ctx context.Context, arg AddFollowUserParams) error
|
2023-09-27 21:58:14 +07:00
|
|
|
CheckIfReviewExists(ctx context.Context, arg CheckIfReviewExistsParams) (int64, error)
|
2023-10-11 16:31:52 +07:00
|
|
|
CreateNewsEvents(ctx context.Context, arg CreateNewsEventsParams) error
|
2023-09-21 21:38:41 +07:00
|
|
|
CreateSession(ctx context.Context, arg CreateSessionParams) (UserSession, error)
|
2023-09-12 17:07:03 +07:00
|
|
|
CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
|
2023-09-19 21:49:48 +07:00
|
|
|
GetCountImageByLocation(ctx context.Context, imageOf int32) (int64, error)
|
2023-09-14 13:49:03 +07:00
|
|
|
GetListLocations(ctx context.Context) ([]Location, error)
|
2023-10-02 08:49:41 +07:00
|
|
|
GetListProvinces(ctx context.Context) ([]GetListProvincesRow, error)
|
|
|
|
GetListRegencies(ctx context.Context) ([]GetListRegenciesRow, error)
|
|
|
|
GetListRegions(ctx context.Context) ([]GetListRegionsRow, error)
|
2023-09-20 13:37:14 +07:00
|
|
|
GetLocationTag(ctx context.Context, targetID int32) ([]string, error)
|
2023-09-21 21:38:41 +07:00
|
|
|
GetSession(ctx context.Context, id int32) (UserSession, error)
|
2023-09-27 21:58:14 +07:00
|
|
|
GetUserReviewByLocation(ctx context.Context, arg GetUserReviewByLocationParams) (GetUserReviewByLocationRow, error)
|
2023-10-03 16:14:58 +07:00
|
|
|
RemoveFollowUser(ctx context.Context, arg RemoveFollowUserParams) error
|
2024-02-06 11:55:25 +07:00
|
|
|
UpdateAvatar(ctx context.Context, arg UpdateAvatarParams) (pgtype.Text, error)
|
2023-10-03 19:44:31 +07:00
|
|
|
UpdateLocationThumbnail(ctx context.Context, arg UpdateLocationThumbnailParams) error
|
2023-09-12 17:07:03 +07:00
|
|
|
UpdatePassword(ctx context.Context, arg UpdatePasswordParams) error
|
2023-09-08 22:24:58 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
var _ Querier = (*Queries)(nil)
|