Documentation ¶
Index ¶
- Variables
- type Anime
- type AnimeFormat
- type AnimeGenre
- type AnimeMapping
- type AnimeProvider
- type AnimeRecommendation
- type AnimeRelation
- type AnimeRelationType
- type AnimeSeason
- type AnimeStatus
- type AnimeStudio
- type AnimeTag
- type AnimeTitle
- type AnimeTitleType
- type DBTX
- type DeleteAnimeGenreParams
- type DeleteAnimeParams
- type DeleteAnimeStudioParams
- type DeleteAnimeTagParams
- type FilterAnimeMappingParams
- type FilterAnimeParams
- type FindGenreParams
- type FindStudioParams
- type FindTagParams
- type FirstGenreParams
- type FirstStudioParams
- type FirstTagParams
- type Genre
- type GetAnimeGenreParams
- type GetAnimeGenresWithAnimeParams
- type GetAnimeGenresWithProviderSlugParams
- type GetAnimeStudioParams
- type GetAnimeStudiosWithAnimeParams
- type GetAnimeStudiosWithProviderSlugParams
- type GetAnimeTagParams
- type GetAnimeTagsWithAnimeParams
- type GetAnimeTagsWithProviderSlugParams
- type InsertAnimeBatchResults
- type InsertAnimeGenreBatchResults
- type InsertAnimeGenreParams
- type InsertAnimeMappingBatchResults
- type InsertAnimeMappingParams
- type InsertAnimeParams
- type InsertAnimeRecommendationBatchResults
- type InsertAnimeRecommendationParams
- type InsertAnimeRelationBatchResults
- type InsertAnimeRelationParams
- type InsertAnimeRow
- type InsertAnimeStudioBatchResults
- type InsertAnimeStudioParams
- type InsertAnimeTagBatchResults
- type InsertAnimeTagParams
- type InsertAnimeTitleBatchResults
- type InsertAnimeTitleParams
- type InsertGenreBatchResults
- type InsertGenreParams
- type InsertGenreRow
- type InsertStudioBatchResults
- type InsertStudioParams
- type InsertStudioRow
- type InsertTagBatchResults
- type InsertTagParams
- type InsertTagRow
- type ListAnimeWithMappingsRow
- type NullAnimeFormat
- type NullAnimeProvider
- type NullAnimeRelationType
- type NullAnimeSeason
- type NullAnimeStatus
- type NullAnimeTitleType
- type Querier
- type Queries
- func (q *Queries) DeleteAnime(ctx context.Context, arg DeleteAnimeParams) (int64, error)
- func (q *Queries) DeleteAnimeGenre(ctx context.Context, arg DeleteAnimeGenreParams) (int64, error)
- func (q *Queries) DeleteAnimeRecommendation(ctx context.Context, ids []uuid.UUID) (int64, error)
- func (q *Queries) DeleteAnimeRelation(ctx context.Context, ids []uuid.UUID) (int64, error)
- func (q *Queries) DeleteAnimeStudio(ctx context.Context, arg DeleteAnimeStudioParams) (int64, error)
- func (q *Queries) DeleteAnimeTag(ctx context.Context, arg DeleteAnimeTagParams) (int64, error)
- func (q *Queries) DeleteGenre(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) DeleteStudio(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) DeleteTag(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) FilterAnime(ctx context.Context, arg FilterAnimeParams) ([]*Anime, error)
- func (q *Queries) FilterAnimeMapping(ctx context.Context, arg FilterAnimeMappingParams) ([]*AnimeMapping, error)
- func (q *Queries) FindGenre(ctx context.Context, arg FindGenreParams) ([]*Genre, error)
- func (q *Queries) FindStudio(ctx context.Context, arg FindStudioParams) ([]*Studio, error)
- func (q *Queries) FindTag(ctx context.Context, arg FindTagParams) ([]*Tag, error)
- func (q *Queries) FirstGenre(ctx context.Context, arg FirstGenreParams) (*Genre, error)
- func (q *Queries) FirstStudio(ctx context.Context, arg FirstStudioParams) (*Studio, error)
- func (q *Queries) FirstTag(ctx context.Context, arg FirstTagParams) (*Tag, error)
- func (q *Queries) GetAnimeGenre(ctx context.Context, arg GetAnimeGenreParams) (*AnimeGenre, error)
- func (q *Queries) GetAnimeGenresWithAnime(ctx context.Context, arg GetAnimeGenresWithAnimeParams) ([]*Genre, error)
- func (q *Queries) GetAnimeGenresWithProvider(ctx context.Context, provider enum.AnimeProvider) ([]*Genre, error)
- func (q *Queries) GetAnimeGenresWithProviderSlug(ctx context.Context, arg GetAnimeGenresWithProviderSlugParams) ([]*Genre, error)
- func (q *Queries) GetAnimeRecommendationsForAnimeId(ctx context.Context, animeID uuid.UUID) ([]*AnimeRecommendation, error)
- func (q *Queries) GetAnimeRelationsForAnimeId(ctx context.Context, animeID uuid.UUID) ([]*AnimeRelation, error)
- func (q *Queries) GetAnimeStudio(ctx context.Context, arg GetAnimeStudioParams) (*AnimeStudio, error)
- func (q *Queries) GetAnimeStudiosWithAnime(ctx context.Context, arg GetAnimeStudiosWithAnimeParams) ([]*Studio, error)
- func (q *Queries) GetAnimeStudiosWithProvider(ctx context.Context, provider enum.AnimeProvider) ([]*Studio, error)
- func (q *Queries) GetAnimeStudiosWithProviderSlug(ctx context.Context, arg GetAnimeStudiosWithProviderSlugParams) ([]*Studio, error)
- func (q *Queries) GetAnimeTag(ctx context.Context, arg GetAnimeTagParams) (*AnimeTag, error)
- func (q *Queries) GetAnimeTagsWithAnime(ctx context.Context, arg GetAnimeTagsWithAnimeParams) ([]*Tag, error)
- func (q *Queries) GetAnimeTagsWithProvider(ctx context.Context, provider enum.AnimeProvider) ([]*Tag, error)
- func (q *Queries) GetAnimeTagsWithProviderSlug(ctx context.Context, arg GetAnimeTagsWithProviderSlugParams) ([]*Tag, error)
- func (q *Queries) InsertAnime(ctx context.Context, arg []InsertAnimeParams) *InsertAnimeBatchResults
- func (q *Queries) InsertAnimeGenre(ctx context.Context, arg []InsertAnimeGenreParams) *InsertAnimeGenreBatchResults
- func (q *Queries) InsertAnimeMapping(ctx context.Context, arg []InsertAnimeMappingParams) *InsertAnimeMappingBatchResults
- func (q *Queries) InsertAnimeRecommendation(ctx context.Context, arg []InsertAnimeRecommendationParams) *InsertAnimeRecommendationBatchResults
- func (q *Queries) InsertAnimeRelation(ctx context.Context, arg []InsertAnimeRelationParams) *InsertAnimeRelationBatchResults
- func (q *Queries) InsertAnimeStudio(ctx context.Context, arg []InsertAnimeStudioParams) *InsertAnimeStudioBatchResults
- func (q *Queries) InsertAnimeTag(ctx context.Context, arg []InsertAnimeTagParams) *InsertAnimeTagBatchResults
- func (q *Queries) InsertAnimeTitle(ctx context.Context, arg []InsertAnimeTitleParams) *InsertAnimeTitleBatchResults
- func (q *Queries) InsertGenre(ctx context.Context, arg []InsertGenreParams) *InsertGenreBatchResults
- func (q *Queries) InsertStudio(ctx context.Context, arg []InsertStudioParams) *InsertStudioBatchResults
- func (q *Queries) InsertTag(ctx context.Context, arg []InsertTagParams) *InsertTagBatchResults
- func (q *Queries) ListAnimeGenres(ctx context.Context) ([]*AnimeGenre, error)
- func (q *Queries) ListAnimeMappings(ctx context.Context) ([]*AnimeMapping, error)
- func (q *Queries) ListAnimeRecommendationsWithMappings(ctx context.Context) ([]*VwAnimeRecommendation, error)
- func (q *Queries) ListAnimeRelationsWithMappings(ctx context.Context) ([]*VwAnimeRelation, error)
- func (q *Queries) ListAnimeStudios(ctx context.Context) ([]*AnimeStudio, error)
- func (q *Queries) ListAnimeTags(ctx context.Context) ([]*AnimeTag, error)
- func (q *Queries) ListAnimeTitle(ctx context.Context) ([]*AnimeTitle, error)
- func (q *Queries) ListAnimeWithMappings(ctx context.Context) ([]*ListAnimeWithMappingsRow, error)
- func (q *Queries) ListGenres(ctx context.Context) ([]*Genre, error)
- func (q *Queries) ListStudios(ctx context.Context) ([]*Studio, error)
- func (q *Queries) ListTags(ctx context.Context) ([]*Tag, error)
- func (q *Queries) UpdateAnime(ctx context.Context, arg []UpdateAnimeParams) *UpdateAnimeBatchResults
- func (q *Queries) UpdateAnimeRecommendation(ctx context.Context, arg []UpdateAnimeRecommendationParams) *UpdateAnimeRecommendationBatchResults
- func (q *Queries) UpdateAnimeRelation(ctx context.Context, arg []UpdateAnimeRelationParams) *UpdateAnimeRelationBatchResults
- func (q *Queries) UpdateAnimeTitle(ctx context.Context, arg []UpdateAnimeTitleParams) *UpdateAnimeTitleBatchResults
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Studio
- type Tag
- type UpdateAnimeBatchResults
- type UpdateAnimeParams
- type UpdateAnimeRecommendationBatchResults
- type UpdateAnimeRecommendationParams
- type UpdateAnimeRelationBatchResults
- type UpdateAnimeRelationParams
- type UpdateAnimeTitleBatchResults
- type UpdateAnimeTitleParams
- type VwAnimeRecommendation
- type VwAnimeRelation
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBatchAlreadyClosed = errors.New("batch already closed")
)
Functions ¶
This section is empty.
Types ¶
type Anime ¶
type Anime struct { ID uuid.UUID ProviderID string Provider enum.AnimeProvider Poster *string Banner *string Logo *string Score *int CountryOfOrigin *string AgeRating *string CreatedAt time.Time UpdatedAt time.Time Description *string Status *enum.Status Format *enum.Format Season *enum.Season SeasonYear *int StartDate *time.Time EndDate *time.Time }
type AnimeFormat ¶
type AnimeFormat string
const ( AnimeFormatUNKNOWN AnimeFormat = "UNKNOWN" AnimeFormatOVA AnimeFormat = "OVA" AnimeFormatONA AnimeFormat = "ONA" AnimeFormatTV AnimeFormat = "TV" AnimeFormatMOVIE AnimeFormat = "MOVIE" AnimeFormatMUSIC AnimeFormat = "MUSIC" AnimeFormatSPECIAL AnimeFormat = "SPECIAL" )
func AllAnimeFormatValues ¶
func AllAnimeFormatValues() []AnimeFormat
func (*AnimeFormat) Scan ¶
func (e *AnimeFormat) Scan(src interface{}) error
func (AnimeFormat) Valid ¶
func (e AnimeFormat) Valid() bool
type AnimeGenre ¶
type AnimeMapping ¶
type AnimeProvider ¶
type AnimeProvider string
const ( AnimeProviderUNKNOWN AnimeProvider = "UNKNOWN" AnimeProviderMYANIMELIST AnimeProvider = "MYANIMELIST" AnimeProviderANIMEPLANET AnimeProvider = "ANIME_PLANET" AnimeProviderKITSUIO AnimeProvider = "KITSU_IO" AnimeProviderANISEARCH AnimeProvider = "ANISEARCH" AnimeProviderANILIST AnimeProvider = "ANILIST" AnimeProviderNOTIFYMOE AnimeProvider = "NOTIFY_MOE" AnimeProviderANIDBNET AnimeProvider = "ANIDB_NET" AnimeProviderLIVECHARTME AnimeProvider = "LIVECHART_ME" AnimeProviderIMDB AnimeProvider = "IMDB" AnimeProviderTHETVDB AnimeProvider = "THE_TV_DB" AnimeProviderFANARTTV AnimeProvider = "FANART_TV" )
func AllAnimeProviderValues ¶
func AllAnimeProviderValues() []AnimeProvider
func (*AnimeProvider) Scan ¶
func (e *AnimeProvider) Scan(src interface{}) error
func (AnimeProvider) Valid ¶
func (e AnimeProvider) Valid() bool
type AnimeRecommendation ¶
type AnimeRelation ¶
type AnimeRelationType ¶
type AnimeRelationType string
const ( AnimeRelationTypeUNKNOWN AnimeRelationType = "UNKNOWN" AnimeRelationTypeADAPTATION AnimeRelationType = "ADAPTATION" AnimeRelationTypePREQUEL AnimeRelationType = "PREQUEL" AnimeRelationTypeSEQUEL AnimeRelationType = "SEQUEL" AnimeRelationTypePARENT AnimeRelationType = "PARENT" AnimeRelationTypeSIDESTORY AnimeRelationType = "SIDE_STORY" AnimeRelationTypeSPINOFF AnimeRelationType = "SPIN_OFF" )
func AllAnimeRelationTypeValues ¶
func AllAnimeRelationTypeValues() []AnimeRelationType
func (*AnimeRelationType) Scan ¶
func (e *AnimeRelationType) Scan(src interface{}) error
func (AnimeRelationType) Valid ¶
func (e AnimeRelationType) Valid() bool
type AnimeSeason ¶
type AnimeSeason string
const ( AnimeSeasonUNKNOWN AnimeSeason = "UNKNOWN" AnimeSeasonSPRING AnimeSeason = "SPRING" AnimeSeasonSUMMER AnimeSeason = "SUMMER" AnimeSeasonFALL AnimeSeason = "FALL" AnimeSeasonWINTER AnimeSeason = "WINTER" )
func AllAnimeSeasonValues ¶
func AllAnimeSeasonValues() []AnimeSeason
func (*AnimeSeason) Scan ¶
func (e *AnimeSeason) Scan(src interface{}) error
func (AnimeSeason) Valid ¶
func (e AnimeSeason) Valid() bool
type AnimeStatus ¶
type AnimeStatus string
const ( AnimeStatusUNKNOWN AnimeStatus = "UNKNOWN" AnimeStatusFINISHED AnimeStatus = "FINISHED" AnimeStatusRELEASING AnimeStatus = "RELEASING" AnimeStatusUPCOMING AnimeStatus = "UPCOMING" AnimeStatusCANCELED AnimeStatus = "CANCELED" )
func AllAnimeStatusValues ¶
func AllAnimeStatusValues() []AnimeStatus
func (*AnimeStatus) Scan ¶
func (e *AnimeStatus) Scan(src interface{}) error
func (AnimeStatus) Valid ¶
func (e AnimeStatus) Valid() bool
type AnimeStudio ¶
type AnimeTitle ¶
type AnimeTitleType ¶
type AnimeTitleType string
const ( AnimeTitleTypeUNKNOWN AnimeTitleType = "UNKNOWN" AnimeTitleTypeOFFICIAL AnimeTitleType = "OFFICIAL" AnimeTitleTypeSHORT AnimeTitleType = "SHORT" AnimeTitleTypeSYNONYM AnimeTitleType = "SYNONYM" AnimeTitleTypeMAIN AnimeTitleType = "MAIN" )
func AllAnimeTitleTypeValues ¶
func AllAnimeTitleTypeValues() []AnimeTitleType
func (*AnimeTitleType) Scan ¶
func (e *AnimeTitleType) Scan(src interface{}) error
func (AnimeTitleType) Valid ¶
func (e AnimeTitleType) Valid() bool
type DeleteAnimeGenreParams ¶
type DeleteAnimeParams ¶
type DeleteAnimeParams struct { ID uuid.NullUUID Provider *enum.AnimeProvider ProviderID *string }
type DeleteAnimeStudioParams ¶
type FilterAnimeMappingParams ¶
type FilterAnimeMappingParams struct { ID []uuid.UUID Provider *enum.AnimeProvider }
type FilterAnimeParams ¶
type FilterAnimeParams struct { ID uuid.NullUUID Provider *enum.AnimeProvider ProviderIDs []string }
type FindGenreParams ¶
type FindGenreParams struct { Provider enum.AnimeProvider Slug []string }
type FindStudioParams ¶
type FindStudioParams struct { Provider enum.AnimeProvider Slug []string }
type FindTagParams ¶
type FindTagParams struct { Provider enum.AnimeProvider Slug []string }
type FirstGenreParams ¶
type FirstStudioParams ¶
type FirstTagParams ¶
type GetAnimeGenresWithProviderSlugParams ¶
type GetAnimeGenresWithProviderSlugParams struct { Provider enum.AnimeProvider Slugs []string }
type GetAnimeStudioParams ¶
type GetAnimeStudiosWithProviderSlugParams ¶
type GetAnimeStudiosWithProviderSlugParams struct { Provider enum.AnimeProvider Slugs []string }
type GetAnimeTagsWithProviderSlugParams ¶
type GetAnimeTagsWithProviderSlugParams struct { Provider enum.AnimeProvider Slugs []string }
type InsertAnimeBatchResults ¶
type InsertAnimeBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeBatchResults) Close ¶
func (b *InsertAnimeBatchResults) Close() error
func (*InsertAnimeBatchResults) Query ¶
func (b *InsertAnimeBatchResults) Query(f func(int, []*InsertAnimeRow, error))
type InsertAnimeGenreBatchResults ¶
type InsertAnimeGenreBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeGenreBatchResults) Close ¶
func (b *InsertAnimeGenreBatchResults) Close() error
func (*InsertAnimeGenreBatchResults) Exec ¶
func (b *InsertAnimeGenreBatchResults) Exec(f func(int, error))
type InsertAnimeGenreParams ¶
type InsertAnimeMappingBatchResults ¶
type InsertAnimeMappingBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeMappingBatchResults) Close ¶
func (b *InsertAnimeMappingBatchResults) Close() error
func (*InsertAnimeMappingBatchResults) Exec ¶
func (b *InsertAnimeMappingBatchResults) Exec(f func(int, error))
type InsertAnimeMappingParams ¶
type InsertAnimeMappingParams struct { ID uuid.UUID Provider enum.AnimeProvider ProviderID string }
type InsertAnimeParams ¶
type InsertAnimeParams struct { Provider enum.AnimeProvider ProviderID string Poster *string Banner *string Logo *string Score *int CountryOfOrigin *string AgeRating *string Description *string Status *enum.Status Format *enum.Format Season *enum.Season SeasonYear *int StartDate *time.Time EndDate *time.Time }
type InsertAnimeRecommendationBatchResults ¶
type InsertAnimeRecommendationBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeRecommendationBatchResults) Close ¶
func (b *InsertAnimeRecommendationBatchResults) Close() error
func (*InsertAnimeRecommendationBatchResults) Exec ¶
func (b *InsertAnimeRecommendationBatchResults) Exec(f func(int, error))
type InsertAnimeRelationBatchResults ¶
type InsertAnimeRelationBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeRelationBatchResults) Close ¶
func (b *InsertAnimeRelationBatchResults) Close() error
func (*InsertAnimeRelationBatchResults) Exec ¶
func (b *InsertAnimeRelationBatchResults) Exec(f func(int, error))
type InsertAnimeRelationParams ¶
type InsertAnimeRelationParams struct { AnimeID uuid.UUID RelatedAnimeID string RelatedAnimeProvider enum.AnimeProvider RelationType enum.AnimeRelationType }
type InsertAnimeRow ¶
type InsertAnimeRow struct { ID uuid.UUID Provider enum.AnimeProvider ProviderID string }
type InsertAnimeStudioBatchResults ¶
type InsertAnimeStudioBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeStudioBatchResults) Close ¶
func (b *InsertAnimeStudioBatchResults) Close() error
func (*InsertAnimeStudioBatchResults) Exec ¶
func (b *InsertAnimeStudioBatchResults) Exec(f func(int, error))
type InsertAnimeStudioParams ¶
type InsertAnimeTagBatchResults ¶
type InsertAnimeTagBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeTagBatchResults) Close ¶
func (b *InsertAnimeTagBatchResults) Close() error
func (*InsertAnimeTagBatchResults) Exec ¶
func (b *InsertAnimeTagBatchResults) Exec(f func(int, error))
type InsertAnimeTitleBatchResults ¶
type InsertAnimeTitleBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertAnimeTitleBatchResults) Close ¶
func (b *InsertAnimeTitleBatchResults) Close() error
func (*InsertAnimeTitleBatchResults) Exec ¶
func (b *InsertAnimeTitleBatchResults) Exec(f func(int, error))
type InsertAnimeTitleParams ¶
type InsertGenreBatchResults ¶
type InsertGenreBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertGenreBatchResults) Close ¶
func (b *InsertGenreBatchResults) Close() error
func (*InsertGenreBatchResults) Query ¶
func (b *InsertGenreBatchResults) Query(f func(int, []*InsertGenreRow, error))
type InsertGenreParams ¶
type InsertGenreParams struct { Provider enum.AnimeProvider Name string Slug string }
type InsertGenreRow ¶
type InsertStudioBatchResults ¶
type InsertStudioBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertStudioBatchResults) Close ¶
func (b *InsertStudioBatchResults) Close() error
func (*InsertStudioBatchResults) Query ¶
func (b *InsertStudioBatchResults) Query(f func(int, []*InsertStudioRow, error))
type InsertStudioParams ¶
type InsertStudioParams struct { Provider enum.AnimeProvider Name string Slug string }
type InsertStudioRow ¶
type InsertTagBatchResults ¶
type InsertTagBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertTagBatchResults) Close ¶
func (b *InsertTagBatchResults) Close() error
func (*InsertTagBatchResults) Query ¶
func (b *InsertTagBatchResults) Query(f func(int, []*InsertTagRow, error))
type InsertTagParams ¶
type InsertTagParams struct { Provider enum.AnimeProvider Name string Slug string Description *string }
type InsertTagRow ¶
type ListAnimeWithMappingsRow ¶
type ListAnimeWithMappingsRow struct { ID uuid.UUID ProviderID string Provider enum.AnimeProvider AnimeID uuid.NullUUID Poster *string Banner *string Logo *string Score *int CountryOfOrigin *string AgeRating *string CreatedAt *time.Time UpdatedAt *time.Time Description *string Status *enum.Status Format *enum.Format Season *enum.Season SeasonYear *int StartDate *time.Time EndDate *time.Time TagIds []uuid.UUID GenreIds []uuid.UUID StudioIds []uuid.UUID }
type NullAnimeFormat ¶
type NullAnimeFormat struct { AnimeFormat AnimeFormat Valid bool // Valid is true if AnimeFormat is not NULL }
func (*NullAnimeFormat) Scan ¶
func (ns *NullAnimeFormat) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullAnimeProvider ¶
type NullAnimeProvider struct { AnimeProvider AnimeProvider Valid bool // Valid is true if AnimeProvider is not NULL }
func (*NullAnimeProvider) Scan ¶
func (ns *NullAnimeProvider) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullAnimeRelationType ¶
type NullAnimeRelationType struct { AnimeRelationType AnimeRelationType Valid bool // Valid is true if AnimeRelationType is not NULL }
func (*NullAnimeRelationType) Scan ¶
func (ns *NullAnimeRelationType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullAnimeSeason ¶
type NullAnimeSeason struct { AnimeSeason AnimeSeason Valid bool // Valid is true if AnimeSeason is not NULL }
func (*NullAnimeSeason) Scan ¶
func (ns *NullAnimeSeason) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullAnimeStatus ¶
type NullAnimeStatus struct { AnimeStatus AnimeStatus Valid bool // Valid is true if AnimeStatus is not NULL }
func (*NullAnimeStatus) Scan ¶
func (ns *NullAnimeStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullAnimeTitleType ¶
type NullAnimeTitleType struct { AnimeTitleType AnimeTitleType Valid bool // Valid is true if AnimeTitleType is not NULL }
func (*NullAnimeTitleType) Scan ¶
func (ns *NullAnimeTitleType) Scan(value interface{}) error
Scan implements the Scanner interface.
type Querier ¶
type Querier interface { DeleteAnime(ctx context.Context, arg DeleteAnimeParams) (int64, error) DeleteAnimeGenre(ctx context.Context, arg DeleteAnimeGenreParams) (int64, error) DeleteAnimeRecommendation(ctx context.Context, ids []uuid.UUID) (int64, error) DeleteAnimeRelation(ctx context.Context, ids []uuid.UUID) (int64, error) DeleteAnimeStudio(ctx context.Context, arg DeleteAnimeStudioParams) (int64, error) DeleteAnimeTag(ctx context.Context, arg DeleteAnimeTagParams) (int64, error) DeleteGenre(ctx context.Context, id uuid.UUID) (int64, error) DeleteStudio(ctx context.Context, id uuid.UUID) (int64, error) DeleteTag(ctx context.Context, id uuid.UUID) (int64, error) FilterAnime(ctx context.Context, arg FilterAnimeParams) ([]*Anime, error) FilterAnimeMapping(ctx context.Context, arg FilterAnimeMappingParams) ([]*AnimeMapping, error) FindGenre(ctx context.Context, arg FindGenreParams) ([]*Genre, error) FindStudio(ctx context.Context, arg FindStudioParams) ([]*Studio, error) FindTag(ctx context.Context, arg FindTagParams) ([]*Tag, error) FirstGenre(ctx context.Context, arg FirstGenreParams) (*Genre, error) FirstStudio(ctx context.Context, arg FirstStudioParams) (*Studio, error) FirstTag(ctx context.Context, arg FirstTagParams) (*Tag, error) GetAnimeGenre(ctx context.Context, arg GetAnimeGenreParams) (*AnimeGenre, error) GetAnimeGenresWithAnime(ctx context.Context, arg GetAnimeGenresWithAnimeParams) ([]*Genre, error) GetAnimeGenresWithProvider(ctx context.Context, provider enum.AnimeProvider) ([]*Genre, error) GetAnimeGenresWithProviderSlug(ctx context.Context, arg GetAnimeGenresWithProviderSlugParams) ([]*Genre, error) GetAnimeRecommendationsForAnimeId(ctx context.Context, animeID uuid.UUID) ([]*AnimeRecommendation, error) GetAnimeRelationsForAnimeId(ctx context.Context, animeID uuid.UUID) ([]*AnimeRelation, error) GetAnimeStudio(ctx context.Context, arg GetAnimeStudioParams) (*AnimeStudio, error) GetAnimeStudiosWithAnime(ctx context.Context, arg GetAnimeStudiosWithAnimeParams) ([]*Studio, error) GetAnimeStudiosWithProvider(ctx context.Context, provider enum.AnimeProvider) ([]*Studio, error) GetAnimeStudiosWithProviderSlug(ctx context.Context, arg GetAnimeStudiosWithProviderSlugParams) ([]*Studio, error) GetAnimeTag(ctx context.Context, arg GetAnimeTagParams) (*AnimeTag, error) GetAnimeTagsWithAnime(ctx context.Context, arg GetAnimeTagsWithAnimeParams) ([]*Tag, error) GetAnimeTagsWithProvider(ctx context.Context, provider enum.AnimeProvider) ([]*Tag, error) GetAnimeTagsWithProviderSlug(ctx context.Context, arg GetAnimeTagsWithProviderSlugParams) ([]*Tag, error) InsertAnime(ctx context.Context, arg []InsertAnimeParams) *InsertAnimeBatchResults InsertAnimeGenre(ctx context.Context, arg []InsertAnimeGenreParams) *InsertAnimeGenreBatchResults InsertAnimeMapping(ctx context.Context, arg []InsertAnimeMappingParams) *InsertAnimeMappingBatchResults InsertAnimeRecommendation(ctx context.Context, arg []InsertAnimeRecommendationParams) *InsertAnimeRecommendationBatchResults InsertAnimeRelation(ctx context.Context, arg []InsertAnimeRelationParams) *InsertAnimeRelationBatchResults InsertAnimeStudio(ctx context.Context, arg []InsertAnimeStudioParams) *InsertAnimeStudioBatchResults InsertAnimeTag(ctx context.Context, arg []InsertAnimeTagParams) *InsertAnimeTagBatchResults InsertAnimeTitle(ctx context.Context, arg []InsertAnimeTitleParams) *InsertAnimeTitleBatchResults InsertGenre(ctx context.Context, arg []InsertGenreParams) *InsertGenreBatchResults InsertStudio(ctx context.Context, arg []InsertStudioParams) *InsertStudioBatchResults InsertTag(ctx context.Context, arg []InsertTagParams) *InsertTagBatchResults ListAnimeGenres(ctx context.Context) ([]*AnimeGenre, error) ListAnimeMappings(ctx context.Context) ([]*AnimeMapping, error) ListAnimeRecommendationsWithMappings(ctx context.Context) ([]*VwAnimeRecommendation, error) ListAnimeRelationsWithMappings(ctx context.Context) ([]*VwAnimeRelation, error) ListAnimeStudios(ctx context.Context) ([]*AnimeStudio, error) ListAnimeTags(ctx context.Context) ([]*AnimeTag, error) ListAnimeTitle(ctx context.Context) ([]*AnimeTitle, error) ListAnimeWithMappings(ctx context.Context) ([]*ListAnimeWithMappingsRow, error) ListGenres(ctx context.Context) ([]*Genre, error) ListStudios(ctx context.Context) ([]*Studio, error) ListTags(ctx context.Context) ([]*Tag, error) UpdateAnime(ctx context.Context, arg []UpdateAnimeParams) *UpdateAnimeBatchResults UpdateAnimeRecommendation(ctx context.Context, arg []UpdateAnimeRecommendationParams) *UpdateAnimeRecommendationBatchResults UpdateAnimeRelation(ctx context.Context, arg []UpdateAnimeRelationParams) *UpdateAnimeRelationBatchResults UpdateAnimeTitle(ctx context.Context, arg []UpdateAnimeTitleParams) *UpdateAnimeTitleBatchResults }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) DeleteAnime ¶
func (*Queries) DeleteAnimeGenre ¶
func (*Queries) DeleteAnimeRecommendation ¶
func (*Queries) DeleteAnimeRelation ¶
func (*Queries) DeleteAnimeStudio ¶
func (*Queries) DeleteAnimeTag ¶
func (*Queries) DeleteGenre ¶
func (*Queries) DeleteStudio ¶
func (*Queries) FilterAnime ¶
func (*Queries) FilterAnimeMapping ¶
func (q *Queries) FilterAnimeMapping(ctx context.Context, arg FilterAnimeMappingParams) ([]*AnimeMapping, error)
func (*Queries) FindStudio ¶
func (*Queries) FirstGenre ¶
func (*Queries) FirstStudio ¶
func (*Queries) GetAnimeGenre ¶
func (q *Queries) GetAnimeGenre(ctx context.Context, arg GetAnimeGenreParams) (*AnimeGenre, error)
func (*Queries) GetAnimeGenresWithAnime ¶
func (*Queries) GetAnimeGenresWithProvider ¶
func (*Queries) GetAnimeGenresWithProviderSlug ¶
func (*Queries) GetAnimeRecommendationsForAnimeId ¶
func (*Queries) GetAnimeRelationsForAnimeId ¶
func (*Queries) GetAnimeStudio ¶
func (q *Queries) GetAnimeStudio(ctx context.Context, arg GetAnimeStudioParams) (*AnimeStudio, error)
func (*Queries) GetAnimeStudiosWithAnime ¶
func (*Queries) GetAnimeStudiosWithProvider ¶
func (*Queries) GetAnimeStudiosWithProviderSlug ¶
func (*Queries) GetAnimeTag ¶
func (*Queries) GetAnimeTagsWithAnime ¶
func (*Queries) GetAnimeTagsWithProvider ¶
func (*Queries) GetAnimeTagsWithProviderSlug ¶
func (*Queries) InsertAnime ¶
func (q *Queries) InsertAnime(ctx context.Context, arg []InsertAnimeParams) *InsertAnimeBatchResults
func (*Queries) InsertAnimeGenre ¶
func (q *Queries) InsertAnimeGenre(ctx context.Context, arg []InsertAnimeGenreParams) *InsertAnimeGenreBatchResults
func (*Queries) InsertAnimeMapping ¶
func (q *Queries) InsertAnimeMapping(ctx context.Context, arg []InsertAnimeMappingParams) *InsertAnimeMappingBatchResults
func (*Queries) InsertAnimeRecommendation ¶
func (q *Queries) InsertAnimeRecommendation(ctx context.Context, arg []InsertAnimeRecommendationParams) *InsertAnimeRecommendationBatchResults
func (*Queries) InsertAnimeRelation ¶
func (q *Queries) InsertAnimeRelation(ctx context.Context, arg []InsertAnimeRelationParams) *InsertAnimeRelationBatchResults
func (*Queries) InsertAnimeStudio ¶
func (q *Queries) InsertAnimeStudio(ctx context.Context, arg []InsertAnimeStudioParams) *InsertAnimeStudioBatchResults
func (*Queries) InsertAnimeTag ¶
func (q *Queries) InsertAnimeTag(ctx context.Context, arg []InsertAnimeTagParams) *InsertAnimeTagBatchResults
func (*Queries) InsertAnimeTitle ¶
func (q *Queries) InsertAnimeTitle(ctx context.Context, arg []InsertAnimeTitleParams) *InsertAnimeTitleBatchResults
func (*Queries) InsertGenre ¶
func (q *Queries) InsertGenre(ctx context.Context, arg []InsertGenreParams) *InsertGenreBatchResults
func (*Queries) InsertStudio ¶
func (q *Queries) InsertStudio(ctx context.Context, arg []InsertStudioParams) *InsertStudioBatchResults
func (*Queries) InsertTag ¶
func (q *Queries) InsertTag(ctx context.Context, arg []InsertTagParams) *InsertTagBatchResults
func (*Queries) ListAnimeGenres ¶
func (q *Queries) ListAnimeGenres(ctx context.Context) ([]*AnimeGenre, error)
func (*Queries) ListAnimeMappings ¶
func (q *Queries) ListAnimeMappings(ctx context.Context) ([]*AnimeMapping, error)
func (*Queries) ListAnimeRecommendationsWithMappings ¶
func (q *Queries) ListAnimeRecommendationsWithMappings(ctx context.Context) ([]*VwAnimeRecommendation, error)
func (*Queries) ListAnimeRelationsWithMappings ¶
func (q *Queries) ListAnimeRelationsWithMappings(ctx context.Context) ([]*VwAnimeRelation, error)
func (*Queries) ListAnimeStudios ¶
func (q *Queries) ListAnimeStudios(ctx context.Context) ([]*AnimeStudio, error)
func (*Queries) ListAnimeTags ¶
func (*Queries) ListAnimeTitle ¶
func (q *Queries) ListAnimeTitle(ctx context.Context) ([]*AnimeTitle, error)
func (*Queries) ListAnimeWithMappings ¶
func (q *Queries) ListAnimeWithMappings(ctx context.Context) ([]*ListAnimeWithMappingsRow, error)
func (*Queries) UpdateAnime ¶
func (q *Queries) UpdateAnime(ctx context.Context, arg []UpdateAnimeParams) *UpdateAnimeBatchResults
func (*Queries) UpdateAnimeRecommendation ¶
func (q *Queries) UpdateAnimeRecommendation(ctx context.Context, arg []UpdateAnimeRecommendationParams) *UpdateAnimeRecommendationBatchResults
func (*Queries) UpdateAnimeRelation ¶
func (q *Queries) UpdateAnimeRelation(ctx context.Context, arg []UpdateAnimeRelationParams) *UpdateAnimeRelationBatchResults
func (*Queries) UpdateAnimeTitle ¶
func (q *Queries) UpdateAnimeTitle(ctx context.Context, arg []UpdateAnimeTitleParams) *UpdateAnimeTitleBatchResults
type UpdateAnimeBatchResults ¶
type UpdateAnimeBatchResults struct {
// contains filtered or unexported fields
}
func (*UpdateAnimeBatchResults) Close ¶
func (b *UpdateAnimeBatchResults) Close() error
type UpdateAnimeParams ¶
type UpdateAnimeRecommendationBatchResults ¶
type UpdateAnimeRecommendationBatchResults struct {
// contains filtered or unexported fields
}
func (*UpdateAnimeRecommendationBatchResults) Close ¶
func (b *UpdateAnimeRecommendationBatchResults) Close() error
func (*UpdateAnimeRecommendationBatchResults) Exec ¶
func (b *UpdateAnimeRecommendationBatchResults) Exec(f func(int, error))
type UpdateAnimeRelationBatchResults ¶
type UpdateAnimeRelationBatchResults struct {
// contains filtered or unexported fields
}
func (*UpdateAnimeRelationBatchResults) Close ¶
func (b *UpdateAnimeRelationBatchResults) Close() error
func (*UpdateAnimeRelationBatchResults) Exec ¶
func (b *UpdateAnimeRelationBatchResults) Exec(f func(int, error))
type UpdateAnimeRelationParams ¶
type UpdateAnimeRelationParams struct { RelationType *enum.AnimeRelationType ID uuid.UUID }
type UpdateAnimeTitleBatchResults ¶
type UpdateAnimeTitleBatchResults struct {
// contains filtered or unexported fields
}
func (*UpdateAnimeTitleBatchResults) Close ¶
func (b *UpdateAnimeTitleBatchResults) Close() error
func (*UpdateAnimeTitleBatchResults) Exec ¶
func (b *UpdateAnimeTitleBatchResults) Exec(f func(int, error))
type UpdateAnimeTitleParams ¶
type VwAnimeRecommendation ¶
Click to show internal directories.
Click to hide internal directories.