30 lines
901 B
Go
30 lines
901 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.30.0
|
|
|
|
package sqlc
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
)
|
|
|
|
type Querier interface {
|
|
CheckUserExistsByEmail(ctx context.Context, userMail string) (pgtype.UUID, error)
|
|
CreateArtist(ctx context.Context, arg CreateArtistParams) (pgtype.UUID, error)
|
|
CreateUser(ctx context.Context, arg CreateUserParams) (pgtype.UUID, error)
|
|
// albums.sql
|
|
GetAlbumByID(ctx context.Context, id pgtype.UUID) (Album, error)
|
|
GetAllAlbums(ctx context.Context) ([]Album, error)
|
|
GetAllArtists(ctx context.Context) ([]Artist, error)
|
|
// artists.sql
|
|
GetArtistByID(ctx context.Context, id pgtype.UUID) (Artist, error)
|
|
// users.sql
|
|
GetUsernameByID(ctx context.Context, id pgtype.UUID) (string, error)
|
|
// user_albums.sql
|
|
UpdateUserAlbumStatus(ctx context.Context, arg UpdateUserAlbumStatusParams) error
|
|
}
|
|
|
|
var _ Querier = (*Queries)(nil)
|