hiling_go/db/sqlc/querier.go

26 lines
980 B
Go
Raw Normal View History

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-13 21:42:04 +07:00
CreateLocation(ctx context.Context, arg CreateLocationParams) 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-09-14 22:51:01 +07:00
GetListRecentLocationsWithRatings(ctx context.Context, limit int32) ([]GetListRecentLocationsWithRatingsRow, error)
2023-09-19 21:49:48 +07:00
GetLocation(ctx context.Context, id int32) (GetLocationRow, 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-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)