tvshow

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the tvshow type in the database.
	Label = "tv_show"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldOriginalTitle holds the string denoting the original_title field in the database.
	FieldOriginalTitle = "original_title"
	// FieldYear holds the string denoting the year field in the database.
	FieldYear = "year"
	// FieldOverview holds the string denoting the overview field in the database.
	FieldOverview = "overview"
	// FieldSeriesStatus holds the string denoting the series_status field in the database.
	FieldSeriesStatus = "series_status"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldMonitored holds the string denoting the monitored field in the database.
	FieldMonitored = "monitored"
	// FieldTvdbID holds the string denoting the tvdb_id field in the database.
	FieldTvdbID = "tvdb_id"
	// FieldPosterPath holds the string denoting the poster_path field in the database.
	FieldPosterPath = "poster_path"
	// FieldNetwork holds the string denoting the network field in the database.
	FieldNetwork = "network"
	// FieldCreator holds the string denoting the creator field in the database.
	FieldCreator = "creator"
	// FieldRuntime holds the string denoting the runtime field in the database.
	FieldRuntime = "runtime"
	// FieldRating holds the string denoting the rating field in the database.
	FieldRating = "rating"
	// FieldGenres holds the string denoting the genres field in the database.
	FieldGenres = "genres"
	// FieldLastRefreshedAt holds the string denoting the last_refreshed_at field in the database.
	FieldLastRefreshedAt = "last_refreshed_at"
	// FieldQualityProfile holds the string denoting the quality_profile field in the database.
	FieldQualityProfile = "quality_profile"
	// EdgeSeasons holds the string denoting the seasons edge name in mutations.
	EdgeSeasons = "seasons"
	// Table holds the table name of the tvshow in the database.
	Table = "tv_shows"
	// SeasonsTable is the table that holds the seasons relation/edge.
	SeasonsTable = "seasons"
	// SeasonsInverseTable is the table name for the Season entity.
	// It exists in this package in order to avoid circular dependency with the "season" package.
	SeasonsInverseTable = "seasons"
	// SeasonsColumn is the table column denoting the seasons relation/edge.
	SeasonsColumn = "tv_show_seasons"
)
View Source
const DefaultSeriesStatus = SeriesStatusContinuing

SeriesStatusContinuing is the default value of the SeriesStatus enum.

View Source
const DefaultType = TypeStandard

TypeStandard is the default value of the Type enum.

Variables

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
	// TitleValidator is a validator for the "title" field. It is called by the builders before save.
	TitleValidator func(string) error
	// DefaultMonitored holds the default value on creation for the "monitored" field.
	DefaultMonitored bool
	// DefaultRuntime holds the default value on creation for the "runtime" field.
	DefaultRuntime uint16
	// DefaultRating holds the default value on creation for the "rating" field.
	DefaultRating float64
)

Columns holds all SQL columns for tvshow fields.

Functions

func And

func And(predicates ...predicate.TVShow) predicate.TVShow

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.TVShow

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.TVShow

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.TVShow

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.TVShow

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.TVShow

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.TVShow

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.TVShow

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.TVShow

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.TVShow

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Creator

func Creator(v string) predicate.TVShow

Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.

func CreatorContains

func CreatorContains(v string) predicate.TVShow

CreatorContains applies the Contains predicate on the "creator" field.

func CreatorContainsFold

func CreatorContainsFold(v string) predicate.TVShow

CreatorContainsFold applies the ContainsFold predicate on the "creator" field.

func CreatorEQ

func CreatorEQ(v string) predicate.TVShow

CreatorEQ applies the EQ predicate on the "creator" field.

func CreatorEqualFold

func CreatorEqualFold(v string) predicate.TVShow

CreatorEqualFold applies the EqualFold predicate on the "creator" field.

func CreatorGT

func CreatorGT(v string) predicate.TVShow

CreatorGT applies the GT predicate on the "creator" field.

func CreatorGTE

func CreatorGTE(v string) predicate.TVShow

CreatorGTE applies the GTE predicate on the "creator" field.

func CreatorHasPrefix

func CreatorHasPrefix(v string) predicate.TVShow

CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.

func CreatorHasSuffix

func CreatorHasSuffix(v string) predicate.TVShow

CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.

func CreatorIn

func CreatorIn(vs ...string) predicate.TVShow

CreatorIn applies the In predicate on the "creator" field.

func CreatorIsNil

func CreatorIsNil() predicate.TVShow

CreatorIsNil applies the IsNil predicate on the "creator" field.

func CreatorLT

func CreatorLT(v string) predicate.TVShow

CreatorLT applies the LT predicate on the "creator" field.

func CreatorLTE

func CreatorLTE(v string) predicate.TVShow

CreatorLTE applies the LTE predicate on the "creator" field.

func CreatorNEQ

func CreatorNEQ(v string) predicate.TVShow

CreatorNEQ applies the NEQ predicate on the "creator" field.

func CreatorNotIn

func CreatorNotIn(vs ...string) predicate.TVShow

CreatorNotIn applies the NotIn predicate on the "creator" field.

func CreatorNotNil

func CreatorNotNil() predicate.TVShow

CreatorNotNil applies the NotNil predicate on the "creator" field.

func GenresIsNil

func GenresIsNil() predicate.TVShow

GenresIsNil applies the IsNil predicate on the "genres" field.

func GenresNotNil

func GenresNotNil() predicate.TVShow

GenresNotNil applies the NotNil predicate on the "genres" field.

func HasSeasons

func HasSeasons() predicate.TVShow

HasSeasons applies the HasEdge predicate on the "seasons" edge.

func HasSeasonsWith

func HasSeasonsWith(preds ...predicate.Season) predicate.TVShow

HasSeasonsWith applies the HasEdge predicate on the "seasons" edge with a given conditions (other predicates).

func ID

func ID(id uint32) predicate.TVShow

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint32) predicate.TVShow

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint32) predicate.TVShow

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint32) predicate.TVShow

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint32) predicate.TVShow

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint32) predicate.TVShow

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint32) predicate.TVShow

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint32) predicate.TVShow

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint32) predicate.TVShow

IDNotIn applies the NotIn predicate on the ID field.

func LastRefreshedAt

func LastRefreshedAt(v time.Time) predicate.TVShow

LastRefreshedAt applies equality check predicate on the "last_refreshed_at" field. It's identical to LastRefreshedAtEQ.

func LastRefreshedAtEQ

func LastRefreshedAtEQ(v time.Time) predicate.TVShow

LastRefreshedAtEQ applies the EQ predicate on the "last_refreshed_at" field.

func LastRefreshedAtGT

func LastRefreshedAtGT(v time.Time) predicate.TVShow

LastRefreshedAtGT applies the GT predicate on the "last_refreshed_at" field.

func LastRefreshedAtGTE

func LastRefreshedAtGTE(v time.Time) predicate.TVShow

LastRefreshedAtGTE applies the GTE predicate on the "last_refreshed_at" field.

func LastRefreshedAtIn

func LastRefreshedAtIn(vs ...time.Time) predicate.TVShow

LastRefreshedAtIn applies the In predicate on the "last_refreshed_at" field.

func LastRefreshedAtIsNil

func LastRefreshedAtIsNil() predicate.TVShow

LastRefreshedAtIsNil applies the IsNil predicate on the "last_refreshed_at" field.

func LastRefreshedAtLT

func LastRefreshedAtLT(v time.Time) predicate.TVShow

LastRefreshedAtLT applies the LT predicate on the "last_refreshed_at" field.

func LastRefreshedAtLTE

func LastRefreshedAtLTE(v time.Time) predicate.TVShow

LastRefreshedAtLTE applies the LTE predicate on the "last_refreshed_at" field.

func LastRefreshedAtNEQ

func LastRefreshedAtNEQ(v time.Time) predicate.TVShow

LastRefreshedAtNEQ applies the NEQ predicate on the "last_refreshed_at" field.

func LastRefreshedAtNotIn

func LastRefreshedAtNotIn(vs ...time.Time) predicate.TVShow

LastRefreshedAtNotIn applies the NotIn predicate on the "last_refreshed_at" field.

func LastRefreshedAtNotNil

func LastRefreshedAtNotNil() predicate.TVShow

LastRefreshedAtNotNil applies the NotNil predicate on the "last_refreshed_at" field.

func Monitored

func Monitored(v bool) predicate.TVShow

Monitored applies equality check predicate on the "monitored" field. It's identical to MonitoredEQ.

func MonitoredEQ

func MonitoredEQ(v bool) predicate.TVShow

MonitoredEQ applies the EQ predicate on the "monitored" field.

func MonitoredNEQ

func MonitoredNEQ(v bool) predicate.TVShow

MonitoredNEQ applies the NEQ predicate on the "monitored" field.

func Network

func Network(v string) predicate.TVShow

Network applies equality check predicate on the "network" field. It's identical to NetworkEQ.

func NetworkContains

func NetworkContains(v string) predicate.TVShow

NetworkContains applies the Contains predicate on the "network" field.

func NetworkContainsFold

func NetworkContainsFold(v string) predicate.TVShow

NetworkContainsFold applies the ContainsFold predicate on the "network" field.

func NetworkEQ

func NetworkEQ(v string) predicate.TVShow

NetworkEQ applies the EQ predicate on the "network" field.

func NetworkEqualFold

func NetworkEqualFold(v string) predicate.TVShow

NetworkEqualFold applies the EqualFold predicate on the "network" field.

func NetworkGT

func NetworkGT(v string) predicate.TVShow

NetworkGT applies the GT predicate on the "network" field.

func NetworkGTE

func NetworkGTE(v string) predicate.TVShow

NetworkGTE applies the GTE predicate on the "network" field.

func NetworkHasPrefix

func NetworkHasPrefix(v string) predicate.TVShow

NetworkHasPrefix applies the HasPrefix predicate on the "network" field.

func NetworkHasSuffix

func NetworkHasSuffix(v string) predicate.TVShow

NetworkHasSuffix applies the HasSuffix predicate on the "network" field.

func NetworkIn

func NetworkIn(vs ...string) predicate.TVShow

NetworkIn applies the In predicate on the "network" field.

func NetworkIsNil

func NetworkIsNil() predicate.TVShow

NetworkIsNil applies the IsNil predicate on the "network" field.

func NetworkLT

func NetworkLT(v string) predicate.TVShow

NetworkLT applies the LT predicate on the "network" field.

func NetworkLTE

func NetworkLTE(v string) predicate.TVShow

NetworkLTE applies the LTE predicate on the "network" field.

func NetworkNEQ

func NetworkNEQ(v string) predicate.TVShow

NetworkNEQ applies the NEQ predicate on the "network" field.

func NetworkNotIn

func NetworkNotIn(vs ...string) predicate.TVShow

NetworkNotIn applies the NotIn predicate on the "network" field.

func NetworkNotNil

func NetworkNotNil() predicate.TVShow

NetworkNotNil applies the NotNil predicate on the "network" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.TVShow) predicate.TVShow

Or groups predicates with the OR operator between them.

func OriginalTitle

func OriginalTitle(v string) predicate.TVShow

OriginalTitle applies equality check predicate on the "original_title" field. It's identical to OriginalTitleEQ.

func OriginalTitleContains

func OriginalTitleContains(v string) predicate.TVShow

OriginalTitleContains applies the Contains predicate on the "original_title" field.

func OriginalTitleContainsFold

func OriginalTitleContainsFold(v string) predicate.TVShow

OriginalTitleContainsFold applies the ContainsFold predicate on the "original_title" field.

func OriginalTitleEQ

func OriginalTitleEQ(v string) predicate.TVShow

OriginalTitleEQ applies the EQ predicate on the "original_title" field.

func OriginalTitleEqualFold

func OriginalTitleEqualFold(v string) predicate.TVShow

OriginalTitleEqualFold applies the EqualFold predicate on the "original_title" field.

func OriginalTitleGT

func OriginalTitleGT(v string) predicate.TVShow

OriginalTitleGT applies the GT predicate on the "original_title" field.

func OriginalTitleGTE

func OriginalTitleGTE(v string) predicate.TVShow

OriginalTitleGTE applies the GTE predicate on the "original_title" field.

func OriginalTitleHasPrefix

func OriginalTitleHasPrefix(v string) predicate.TVShow

OriginalTitleHasPrefix applies the HasPrefix predicate on the "original_title" field.

func OriginalTitleHasSuffix

func OriginalTitleHasSuffix(v string) predicate.TVShow

OriginalTitleHasSuffix applies the HasSuffix predicate on the "original_title" field.

func OriginalTitleIn

func OriginalTitleIn(vs ...string) predicate.TVShow

OriginalTitleIn applies the In predicate on the "original_title" field.

func OriginalTitleIsNil

func OriginalTitleIsNil() predicate.TVShow

OriginalTitleIsNil applies the IsNil predicate on the "original_title" field.

func OriginalTitleLT

func OriginalTitleLT(v string) predicate.TVShow

OriginalTitleLT applies the LT predicate on the "original_title" field.

func OriginalTitleLTE

func OriginalTitleLTE(v string) predicate.TVShow

OriginalTitleLTE applies the LTE predicate on the "original_title" field.

func OriginalTitleNEQ

func OriginalTitleNEQ(v string) predicate.TVShow

OriginalTitleNEQ applies the NEQ predicate on the "original_title" field.

func OriginalTitleNotIn

func OriginalTitleNotIn(vs ...string) predicate.TVShow

OriginalTitleNotIn applies the NotIn predicate on the "original_title" field.

func OriginalTitleNotNil

func OriginalTitleNotNil() predicate.TVShow

OriginalTitleNotNil applies the NotNil predicate on the "original_title" field.

func Overview

func Overview(v string) predicate.TVShow

Overview applies equality check predicate on the "overview" field. It's identical to OverviewEQ.

func OverviewContains

func OverviewContains(v string) predicate.TVShow

OverviewContains applies the Contains predicate on the "overview" field.

func OverviewContainsFold

func OverviewContainsFold(v string) predicate.TVShow

OverviewContainsFold applies the ContainsFold predicate on the "overview" field.

func OverviewEQ

func OverviewEQ(v string) predicate.TVShow

OverviewEQ applies the EQ predicate on the "overview" field.

func OverviewEqualFold

func OverviewEqualFold(v string) predicate.TVShow

OverviewEqualFold applies the EqualFold predicate on the "overview" field.

func OverviewGT

func OverviewGT(v string) predicate.TVShow

OverviewGT applies the GT predicate on the "overview" field.

func OverviewGTE

func OverviewGTE(v string) predicate.TVShow

OverviewGTE applies the GTE predicate on the "overview" field.

func OverviewHasPrefix

func OverviewHasPrefix(v string) predicate.TVShow

OverviewHasPrefix applies the HasPrefix predicate on the "overview" field.

func OverviewHasSuffix

func OverviewHasSuffix(v string) predicate.TVShow

OverviewHasSuffix applies the HasSuffix predicate on the "overview" field.

func OverviewIn

func OverviewIn(vs ...string) predicate.TVShow

OverviewIn applies the In predicate on the "overview" field.

func OverviewIsNil

func OverviewIsNil() predicate.TVShow

OverviewIsNil applies the IsNil predicate on the "overview" field.

func OverviewLT

func OverviewLT(v string) predicate.TVShow

OverviewLT applies the LT predicate on the "overview" field.

func OverviewLTE

func OverviewLTE(v string) predicate.TVShow

OverviewLTE applies the LTE predicate on the "overview" field.

func OverviewNEQ

func OverviewNEQ(v string) predicate.TVShow

OverviewNEQ applies the NEQ predicate on the "overview" field.

func OverviewNotIn

func OverviewNotIn(vs ...string) predicate.TVShow

OverviewNotIn applies the NotIn predicate on the "overview" field.

func OverviewNotNil

func OverviewNotNil() predicate.TVShow

OverviewNotNil applies the NotNil predicate on the "overview" field.

func PosterPath

func PosterPath(v string) predicate.TVShow

PosterPath applies equality check predicate on the "poster_path" field. It's identical to PosterPathEQ.

func PosterPathContains

func PosterPathContains(v string) predicate.TVShow

PosterPathContains applies the Contains predicate on the "poster_path" field.

func PosterPathContainsFold

func PosterPathContainsFold(v string) predicate.TVShow

PosterPathContainsFold applies the ContainsFold predicate on the "poster_path" field.

func PosterPathEQ

func PosterPathEQ(v string) predicate.TVShow

PosterPathEQ applies the EQ predicate on the "poster_path" field.

func PosterPathEqualFold

func PosterPathEqualFold(v string) predicate.TVShow

PosterPathEqualFold applies the EqualFold predicate on the "poster_path" field.

func PosterPathGT

func PosterPathGT(v string) predicate.TVShow

PosterPathGT applies the GT predicate on the "poster_path" field.

func PosterPathGTE

func PosterPathGTE(v string) predicate.TVShow

PosterPathGTE applies the GTE predicate on the "poster_path" field.

func PosterPathHasPrefix

func PosterPathHasPrefix(v string) predicate.TVShow

PosterPathHasPrefix applies the HasPrefix predicate on the "poster_path" field.

func PosterPathHasSuffix

func PosterPathHasSuffix(v string) predicate.TVShow

PosterPathHasSuffix applies the HasSuffix predicate on the "poster_path" field.

func PosterPathIn

func PosterPathIn(vs ...string) predicate.TVShow

PosterPathIn applies the In predicate on the "poster_path" field.

func PosterPathIsNil

func PosterPathIsNil() predicate.TVShow

PosterPathIsNil applies the IsNil predicate on the "poster_path" field.

func PosterPathLT

func PosterPathLT(v string) predicate.TVShow

PosterPathLT applies the LT predicate on the "poster_path" field.

func PosterPathLTE

func PosterPathLTE(v string) predicate.TVShow

PosterPathLTE applies the LTE predicate on the "poster_path" field.

func PosterPathNEQ

func PosterPathNEQ(v string) predicate.TVShow

PosterPathNEQ applies the NEQ predicate on the "poster_path" field.

func PosterPathNotIn

func PosterPathNotIn(vs ...string) predicate.TVShow

PosterPathNotIn applies the NotIn predicate on the "poster_path" field.

func PosterPathNotNil

func PosterPathNotNil() predicate.TVShow

PosterPathNotNil applies the NotNil predicate on the "poster_path" field.

func QualityProfile

func QualityProfile(v string) predicate.TVShow

QualityProfile applies equality check predicate on the "quality_profile" field. It's identical to QualityProfileEQ.

func QualityProfileContains

func QualityProfileContains(v string) predicate.TVShow

QualityProfileContains applies the Contains predicate on the "quality_profile" field.

func QualityProfileContainsFold

func QualityProfileContainsFold(v string) predicate.TVShow

QualityProfileContainsFold applies the ContainsFold predicate on the "quality_profile" field.

func QualityProfileEQ

func QualityProfileEQ(v string) predicate.TVShow

QualityProfileEQ applies the EQ predicate on the "quality_profile" field.

func QualityProfileEqualFold

func QualityProfileEqualFold(v string) predicate.TVShow

QualityProfileEqualFold applies the EqualFold predicate on the "quality_profile" field.

func QualityProfileGT

func QualityProfileGT(v string) predicate.TVShow

QualityProfileGT applies the GT predicate on the "quality_profile" field.

func QualityProfileGTE

func QualityProfileGTE(v string) predicate.TVShow

QualityProfileGTE applies the GTE predicate on the "quality_profile" field.

func QualityProfileHasPrefix

func QualityProfileHasPrefix(v string) predicate.TVShow

QualityProfileHasPrefix applies the HasPrefix predicate on the "quality_profile" field.

func QualityProfileHasSuffix

func QualityProfileHasSuffix(v string) predicate.TVShow

QualityProfileHasSuffix applies the HasSuffix predicate on the "quality_profile" field.

func QualityProfileIn

func QualityProfileIn(vs ...string) predicate.TVShow

QualityProfileIn applies the In predicate on the "quality_profile" field.

func QualityProfileIsNil

func QualityProfileIsNil() predicate.TVShow

QualityProfileIsNil applies the IsNil predicate on the "quality_profile" field.

func QualityProfileLT

func QualityProfileLT(v string) predicate.TVShow

QualityProfileLT applies the LT predicate on the "quality_profile" field.

func QualityProfileLTE

func QualityProfileLTE(v string) predicate.TVShow

QualityProfileLTE applies the LTE predicate on the "quality_profile" field.

func QualityProfileNEQ

func QualityProfileNEQ(v string) predicate.TVShow

QualityProfileNEQ applies the NEQ predicate on the "quality_profile" field.

func QualityProfileNotIn

func QualityProfileNotIn(vs ...string) predicate.TVShow

QualityProfileNotIn applies the NotIn predicate on the "quality_profile" field.

func QualityProfileNotNil

func QualityProfileNotNil() predicate.TVShow

QualityProfileNotNil applies the NotNil predicate on the "quality_profile" field.

func Rating

func Rating(v float64) predicate.TVShow

Rating applies equality check predicate on the "rating" field. It's identical to RatingEQ.

func RatingEQ

func RatingEQ(v float64) predicate.TVShow

RatingEQ applies the EQ predicate on the "rating" field.

func RatingGT

func RatingGT(v float64) predicate.TVShow

RatingGT applies the GT predicate on the "rating" field.

func RatingGTE

func RatingGTE(v float64) predicate.TVShow

RatingGTE applies the GTE predicate on the "rating" field.

func RatingIn

func RatingIn(vs ...float64) predicate.TVShow

RatingIn applies the In predicate on the "rating" field.

func RatingIsNil

func RatingIsNil() predicate.TVShow

RatingIsNil applies the IsNil predicate on the "rating" field.

func RatingLT

func RatingLT(v float64) predicate.TVShow

RatingLT applies the LT predicate on the "rating" field.

func RatingLTE

func RatingLTE(v float64) predicate.TVShow

RatingLTE applies the LTE predicate on the "rating" field.

func RatingNEQ

func RatingNEQ(v float64) predicate.TVShow

RatingNEQ applies the NEQ predicate on the "rating" field.

func RatingNotIn

func RatingNotIn(vs ...float64) predicate.TVShow

RatingNotIn applies the NotIn predicate on the "rating" field.

func RatingNotNil

func RatingNotNil() predicate.TVShow

RatingNotNil applies the NotNil predicate on the "rating" field.

func Runtime

func Runtime(v uint16) predicate.TVShow

Runtime applies equality check predicate on the "runtime" field. It's identical to RuntimeEQ.

func RuntimeEQ

func RuntimeEQ(v uint16) predicate.TVShow

RuntimeEQ applies the EQ predicate on the "runtime" field.

func RuntimeGT

func RuntimeGT(v uint16) predicate.TVShow

RuntimeGT applies the GT predicate on the "runtime" field.

func RuntimeGTE

func RuntimeGTE(v uint16) predicate.TVShow

RuntimeGTE applies the GTE predicate on the "runtime" field.

func RuntimeIn

func RuntimeIn(vs ...uint16) predicate.TVShow

RuntimeIn applies the In predicate on the "runtime" field.

func RuntimeIsNil

func RuntimeIsNil() predicate.TVShow

RuntimeIsNil applies the IsNil predicate on the "runtime" field.

func RuntimeLT

func RuntimeLT(v uint16) predicate.TVShow

RuntimeLT applies the LT predicate on the "runtime" field.

func RuntimeLTE

func RuntimeLTE(v uint16) predicate.TVShow

RuntimeLTE applies the LTE predicate on the "runtime" field.

func RuntimeNEQ

func RuntimeNEQ(v uint16) predicate.TVShow

RuntimeNEQ applies the NEQ predicate on the "runtime" field.

func RuntimeNotIn

func RuntimeNotIn(vs ...uint16) predicate.TVShow

RuntimeNotIn applies the NotIn predicate on the "runtime" field.

func RuntimeNotNil

func RuntimeNotNil() predicate.TVShow

RuntimeNotNil applies the NotNil predicate on the "runtime" field.

func SeriesStatusEQ

func SeriesStatusEQ(v SeriesStatus) predicate.TVShow

SeriesStatusEQ applies the EQ predicate on the "series_status" field.

func SeriesStatusIn

func SeriesStatusIn(vs ...SeriesStatus) predicate.TVShow

SeriesStatusIn applies the In predicate on the "series_status" field.

func SeriesStatusNEQ

func SeriesStatusNEQ(v SeriesStatus) predicate.TVShow

SeriesStatusNEQ applies the NEQ predicate on the "series_status" field.

func SeriesStatusNotIn

func SeriesStatusNotIn(vs ...SeriesStatus) predicate.TVShow

SeriesStatusNotIn applies the NotIn predicate on the "series_status" field.

func SeriesStatusValidator

func SeriesStatusValidator(ss SeriesStatus) error

SeriesStatusValidator is a validator for the "series_status" field enum values. It is called by the builders before save.

func Title

func Title(v string) predicate.TVShow

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.TVShow

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.TVShow

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.TVShow

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.TVShow

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.TVShow

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.TVShow

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.TVShow

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.TVShow

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.TVShow

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.TVShow

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.TVShow

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.TVShow

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.TVShow

TitleNotIn applies the NotIn predicate on the "title" field.

func TvdbID

func TvdbID(v uint32) predicate.TVShow

TvdbID applies equality check predicate on the "tvdb_id" field. It's identical to TvdbIDEQ.

func TvdbIDEQ

func TvdbIDEQ(v uint32) predicate.TVShow

TvdbIDEQ applies the EQ predicate on the "tvdb_id" field.

func TvdbIDGT

func TvdbIDGT(v uint32) predicate.TVShow

TvdbIDGT applies the GT predicate on the "tvdb_id" field.

func TvdbIDGTE

func TvdbIDGTE(v uint32) predicate.TVShow

TvdbIDGTE applies the GTE predicate on the "tvdb_id" field.

func TvdbIDIn

func TvdbIDIn(vs ...uint32) predicate.TVShow

TvdbIDIn applies the In predicate on the "tvdb_id" field.

func TvdbIDLT

func TvdbIDLT(v uint32) predicate.TVShow

TvdbIDLT applies the LT predicate on the "tvdb_id" field.

func TvdbIDLTE

func TvdbIDLTE(v uint32) predicate.TVShow

TvdbIDLTE applies the LTE predicate on the "tvdb_id" field.

func TvdbIDNEQ

func TvdbIDNEQ(v uint32) predicate.TVShow

TvdbIDNEQ applies the NEQ predicate on the "tvdb_id" field.

func TvdbIDNotIn

func TvdbIDNotIn(vs ...uint32) predicate.TVShow

TvdbIDNotIn applies the NotIn predicate on the "tvdb_id" field.

func TypeEQ

func TypeEQ(v Type) predicate.TVShow

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.TVShow

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.TVShow

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.TVShow

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func UpdateTime

func UpdateTime(v time.Time) predicate.TVShow

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.TVShow

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.TVShow

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.TVShow

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.TVShow

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.TVShow

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.TVShow

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.TVShow

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.TVShow

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Year

func Year(v uint16) predicate.TVShow

Year applies equality check predicate on the "year" field. It's identical to YearEQ.

func YearEQ

func YearEQ(v uint16) predicate.TVShow

YearEQ applies the EQ predicate on the "year" field.

func YearGT

func YearGT(v uint16) predicate.TVShow

YearGT applies the GT predicate on the "year" field.

func YearGTE

func YearGTE(v uint16) predicate.TVShow

YearGTE applies the GTE predicate on the "year" field.

func YearIn

func YearIn(vs ...uint16) predicate.TVShow

YearIn applies the In predicate on the "year" field.

func YearLT

func YearLT(v uint16) predicate.TVShow

YearLT applies the LT predicate on the "year" field.

func YearLTE

func YearLTE(v uint16) predicate.TVShow

YearLTE applies the LTE predicate on the "year" field.

func YearNEQ

func YearNEQ(v uint16) predicate.TVShow

YearNEQ applies the NEQ predicate on the "year" field.

func YearNotIn

func YearNotIn(vs ...uint16) predicate.TVShow

YearNotIn applies the NotIn predicate on the "year" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the TVShow queries.

func ByCreateTime

func ByCreateTime(opts ...sql.OrderTermOption) OrderOption

ByCreateTime orders the results by the create_time field.

func ByCreator

func ByCreator(opts ...sql.OrderTermOption) OrderOption

ByCreator orders the results by the creator field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLastRefreshedAt

func ByLastRefreshedAt(opts ...sql.OrderTermOption) OrderOption

ByLastRefreshedAt orders the results by the last_refreshed_at field.

func ByMonitored

func ByMonitored(opts ...sql.OrderTermOption) OrderOption

ByMonitored orders the results by the monitored field.

func ByNetwork

func ByNetwork(opts ...sql.OrderTermOption) OrderOption

ByNetwork orders the results by the network field.

func ByOriginalTitle

func ByOriginalTitle(opts ...sql.OrderTermOption) OrderOption

ByOriginalTitle orders the results by the original_title field.

func ByOverview

func ByOverview(opts ...sql.OrderTermOption) OrderOption

ByOverview orders the results by the overview field.

func ByPosterPath

func ByPosterPath(opts ...sql.OrderTermOption) OrderOption

ByPosterPath orders the results by the poster_path field.

func ByQualityProfile

func ByQualityProfile(opts ...sql.OrderTermOption) OrderOption

ByQualityProfile orders the results by the quality_profile field.

func ByRating

func ByRating(opts ...sql.OrderTermOption) OrderOption

ByRating orders the results by the rating field.

func ByRuntime

func ByRuntime(opts ...sql.OrderTermOption) OrderOption

ByRuntime orders the results by the runtime field.

func BySeasons

func BySeasons(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySeasons orders the results by seasons terms.

func BySeasonsCount

func BySeasonsCount(opts ...sql.OrderTermOption) OrderOption

BySeasonsCount orders the results by seasons count.

func BySeriesStatus

func BySeriesStatus(opts ...sql.OrderTermOption) OrderOption

BySeriesStatus orders the results by the series_status field.

func ByTitle

func ByTitle(opts ...sql.OrderTermOption) OrderOption

ByTitle orders the results by the title field.

func ByTvdbID

func ByTvdbID(opts ...sql.OrderTermOption) OrderOption

ByTvdbID orders the results by the tvdb_id field.

func ByType

func ByType(opts ...sql.OrderTermOption) OrderOption

ByType orders the results by the type field.

func ByUpdateTime

func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption

ByUpdateTime orders the results by the update_time field.

func ByYear

func ByYear(opts ...sql.OrderTermOption) OrderOption

ByYear orders the results by the year field.

type SeriesStatus

type SeriesStatus string

SeriesStatus defines the type for the "series_status" enum field.

const (
	SeriesStatusContinuing SeriesStatus = "continuing"
	SeriesStatusEnded      SeriesStatus = "ended"
	SeriesStatusUpcoming   SeriesStatus = "upcoming"
)

SeriesStatus values.

func (SeriesStatus) String

func (ss SeriesStatus) String() string

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeStandard Type = "standard"
	TypeAnime    Type = "anime"
	TypeDaily    Type = "daily"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL