// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.27.0

package sqlcdb

import (
	"context"

	"github.com/google/uuid"
)

type Querier interface {
	CountDatabaseServicesByUserAndName(ctx context.Context, arg CountDatabaseServicesByUserAndNameParams) (int64, error)
	CountProjectsByUser(ctx context.Context, arg CountProjectsByUserParams) (int64, error)
	CountServicesByProjectAndName(ctx context.Context, arg CountServicesByProjectAndNameParams) (int64, error)
	CreateDatabaseBackup(ctx context.Context, arg CreateDatabaseBackupParams) error
	CreateDatabaseService(ctx context.Context, arg CreateDatabaseServiceParams) error
	CreateProject(ctx context.Context, arg CreateProjectParams) (Project, error)
	CreateServiceFromTemplate(ctx context.Context, arg CreateServiceFromTemplateParams) error
	DatabaseServiceExistsByIDAndUser(ctx context.Context, arg DatabaseServiceExistsByIDAndUserParams) (bool, error)
	DeleteDatabaseServiceByIDAndUser(ctx context.Context, arg DeleteDatabaseServiceByIDAndUserParams) error
	DeleteProjectByID(ctx context.Context, projectID uuid.UUID) (int64, error)
	GetDatabaseBackupByIDAndDatabaseAndUser(ctx context.Context, arg GetDatabaseBackupByIDAndDatabaseAndUserParams) (DatabaseBackup, error)
	GetDatabaseServiceByIDAndUser(ctx context.Context, arg GetDatabaseServiceByIDAndUserParams) (GetDatabaseServiceByIDAndUserRow, error)
	GetProjectByIDForUser(ctx context.Context, arg GetProjectByIDForUserParams) (Project, error)
	GetProjectOwnerByID(ctx context.Context, projectID uuid.UUID) (uuid.UUID, error)
	GetProjectOwnerID(ctx context.Context, id uuid.UUID) (uuid.UUID, error)
	GetProjectRoleForUser(ctx context.Context, arg GetProjectRoleForUserParams) (string, error)
	GetServiceTemplateByID(ctx context.Context, id string) (ServiceTemplate, error)
	InsertProjectEnvironment(ctx context.Context, arg InsertProjectEnvironmentParams) error
	ListDatabaseBackupsByDatabaseAndUser(ctx context.Context, arg ListDatabaseBackupsByDatabaseAndUserParams) ([]DatabaseBackup, error)
	ListDatabaseServicesByUser(ctx context.Context, userID string) ([]ListDatabaseServicesByUserRow, error)
	ListProjectsWithStatsByUser(ctx context.Context, arg ListProjectsWithStatsByUserParams) ([]ListProjectsWithStatsByUserRow, error)
	ListServiceTemplates(ctx context.Context) ([]ServiceTemplate, error)
	ListServiceTemplatesByCategory(ctx context.Context, category string) ([]ServiceTemplate, error)
	SetDatabaseBackupStatusByID(ctx context.Context, arg SetDatabaseBackupStatusByIDParams) error
	SetDatabaseServiceStatusAndConnectionByID(ctx context.Context, arg SetDatabaseServiceStatusAndConnectionByIDParams) error
	SetDatabaseServiceStatusByID(ctx context.Context, arg SetDatabaseServiceStatusByIDParams) error
	SetDatabaseServiceStatusByIDAndUser(ctx context.Context, arg SetDatabaseServiceStatusByIDAndUserParams) error
	UpdateDatabaseServiceNameAndPlanByIDAndUser(ctx context.Context, arg UpdateDatabaseServiceNameAndPlanByIDAndUserParams) error
	UpdateDatabaseServiceNameByIDAndUser(ctx context.Context, arg UpdateDatabaseServiceNameByIDAndUserParams) error
	UpdateDatabaseServicePlanByIDAndUser(ctx context.Context, arg UpdateDatabaseServicePlanByIDAndUserParams) error
	UpdateProjectByID(ctx context.Context, arg UpdateProjectByIDParams) (int64, error)
	UpsertEnvironmentVariable(ctx context.Context, arg UpsertEnvironmentVariableParams) error
}

var _ Querier = (*Queries)(nil)
