2023-09-08 22:24:58 +07:00
|
|
|
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// sqlc v1.20.0
|
|
|
|
|
|
|
|
package db
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Querier interface {
|
2023-09-27 21:58:14 +07:00
|
|
|
CheckIfReviewExists(ctx context.Context, arg CheckIfReviewExistsParams) (int64, 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)
|
2023-09-14 22:51:01 +07:00
|
|
|
GetListRecentLocationsWithRatings(ctx context.Context, limit int32) ([]GetListRecentLocationsWithRatingsRow, error)
|
2023-10-02 08:49:41 +07:00
|
|
|
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-09-12 17:07:03 +07:00
|
|
|
UpdatePassword(ctx context.Context, arg UpdatePasswordParams) error
|
|
|
|
UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
|
2023-09-08 22:24:58 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
var _ Querier = (*Queries)(nil)
|