Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TVShow) predicate.TVShow
- func CreateTime(v time.Time) predicate.TVShow
- func CreateTimeEQ(v time.Time) predicate.TVShow
- func CreateTimeGT(v time.Time) predicate.TVShow
- func CreateTimeGTE(v time.Time) predicate.TVShow
- func CreateTimeIn(vs ...time.Time) predicate.TVShow
- func CreateTimeLT(v time.Time) predicate.TVShow
- func CreateTimeLTE(v time.Time) predicate.TVShow
- func CreateTimeNEQ(v time.Time) predicate.TVShow
- func CreateTimeNotIn(vs ...time.Time) predicate.TVShow
- func Creator(v string) predicate.TVShow
- func CreatorContains(v string) predicate.TVShow
- func CreatorContainsFold(v string) predicate.TVShow
- func CreatorEQ(v string) predicate.TVShow
- func CreatorEqualFold(v string) predicate.TVShow
- func CreatorGT(v string) predicate.TVShow
- func CreatorGTE(v string) predicate.TVShow
- func CreatorHasPrefix(v string) predicate.TVShow
- func CreatorHasSuffix(v string) predicate.TVShow
- func CreatorIn(vs ...string) predicate.TVShow
- func CreatorIsNil() predicate.TVShow
- func CreatorLT(v string) predicate.TVShow
- func CreatorLTE(v string) predicate.TVShow
- func CreatorNEQ(v string) predicate.TVShow
- func CreatorNotIn(vs ...string) predicate.TVShow
- func CreatorNotNil() predicate.TVShow
- func GenresIsNil() predicate.TVShow
- func GenresNotNil() predicate.TVShow
- func HasSeasons() predicate.TVShow
- func HasSeasonsWith(preds ...predicate.Season) predicate.TVShow
- func ID(id uint32) predicate.TVShow
- func IDEQ(id uint32) predicate.TVShow
- func IDGT(id uint32) predicate.TVShow
- func IDGTE(id uint32) predicate.TVShow
- func IDIn(ids ...uint32) predicate.TVShow
- func IDLT(id uint32) predicate.TVShow
- func IDLTE(id uint32) predicate.TVShow
- func IDNEQ(id uint32) predicate.TVShow
- func IDNotIn(ids ...uint32) predicate.TVShow
- func LastRefreshedAt(v time.Time) predicate.TVShow
- func LastRefreshedAtEQ(v time.Time) predicate.TVShow
- func LastRefreshedAtGT(v time.Time) predicate.TVShow
- func LastRefreshedAtGTE(v time.Time) predicate.TVShow
- func LastRefreshedAtIn(vs ...time.Time) predicate.TVShow
- func LastRefreshedAtIsNil() predicate.TVShow
- func LastRefreshedAtLT(v time.Time) predicate.TVShow
- func LastRefreshedAtLTE(v time.Time) predicate.TVShow
- func LastRefreshedAtNEQ(v time.Time) predicate.TVShow
- func LastRefreshedAtNotIn(vs ...time.Time) predicate.TVShow
- func LastRefreshedAtNotNil() predicate.TVShow
- func Monitored(v bool) predicate.TVShow
- func MonitoredEQ(v bool) predicate.TVShow
- func MonitoredNEQ(v bool) predicate.TVShow
- func Network(v string) predicate.TVShow
- func NetworkContains(v string) predicate.TVShow
- func NetworkContainsFold(v string) predicate.TVShow
- func NetworkEQ(v string) predicate.TVShow
- func NetworkEqualFold(v string) predicate.TVShow
- func NetworkGT(v string) predicate.TVShow
- func NetworkGTE(v string) predicate.TVShow
- func NetworkHasPrefix(v string) predicate.TVShow
- func NetworkHasSuffix(v string) predicate.TVShow
- func NetworkIn(vs ...string) predicate.TVShow
- func NetworkIsNil() predicate.TVShow
- func NetworkLT(v string) predicate.TVShow
- func NetworkLTE(v string) predicate.TVShow
- func NetworkNEQ(v string) predicate.TVShow
- func NetworkNotIn(vs ...string) predicate.TVShow
- func NetworkNotNil() predicate.TVShow
- func Not(p predicate.TVShow) predicate.TVShow
- func Or(predicates ...predicate.TVShow) predicate.TVShow
- func OriginalTitle(v string) predicate.TVShow
- func OriginalTitleContains(v string) predicate.TVShow
- func OriginalTitleContainsFold(v string) predicate.TVShow
- func OriginalTitleEQ(v string) predicate.TVShow
- func OriginalTitleEqualFold(v string) predicate.TVShow
- func OriginalTitleGT(v string) predicate.TVShow
- func OriginalTitleGTE(v string) predicate.TVShow
- func OriginalTitleHasPrefix(v string) predicate.TVShow
- func OriginalTitleHasSuffix(v string) predicate.TVShow
- func OriginalTitleIn(vs ...string) predicate.TVShow
- func OriginalTitleIsNil() predicate.TVShow
- func OriginalTitleLT(v string) predicate.TVShow
- func OriginalTitleLTE(v string) predicate.TVShow
- func OriginalTitleNEQ(v string) predicate.TVShow
- func OriginalTitleNotIn(vs ...string) predicate.TVShow
- func OriginalTitleNotNil() predicate.TVShow
- func Overview(v string) predicate.TVShow
- func OverviewContains(v string) predicate.TVShow
- func OverviewContainsFold(v string) predicate.TVShow
- func OverviewEQ(v string) predicate.TVShow
- func OverviewEqualFold(v string) predicate.TVShow
- func OverviewGT(v string) predicate.TVShow
- func OverviewGTE(v string) predicate.TVShow
- func OverviewHasPrefix(v string) predicate.TVShow
- func OverviewHasSuffix(v string) predicate.TVShow
- func OverviewIn(vs ...string) predicate.TVShow
- func OverviewIsNil() predicate.TVShow
- func OverviewLT(v string) predicate.TVShow
- func OverviewLTE(v string) predicate.TVShow
- func OverviewNEQ(v string) predicate.TVShow
- func OverviewNotIn(vs ...string) predicate.TVShow
- func OverviewNotNil() predicate.TVShow
- func PosterPath(v string) predicate.TVShow
- func PosterPathContains(v string) predicate.TVShow
- func PosterPathContainsFold(v string) predicate.TVShow
- func PosterPathEQ(v string) predicate.TVShow
- func PosterPathEqualFold(v string) predicate.TVShow
- func PosterPathGT(v string) predicate.TVShow
- func PosterPathGTE(v string) predicate.TVShow
- func PosterPathHasPrefix(v string) predicate.TVShow
- func PosterPathHasSuffix(v string) predicate.TVShow
- func PosterPathIn(vs ...string) predicate.TVShow
- func PosterPathIsNil() predicate.TVShow
- func PosterPathLT(v string) predicate.TVShow
- func PosterPathLTE(v string) predicate.TVShow
- func PosterPathNEQ(v string) predicate.TVShow
- func PosterPathNotIn(vs ...string) predicate.TVShow
- func PosterPathNotNil() predicate.TVShow
- func QualityProfile(v string) predicate.TVShow
- func QualityProfileContains(v string) predicate.TVShow
- func QualityProfileContainsFold(v string) predicate.TVShow
- func QualityProfileEQ(v string) predicate.TVShow
- func QualityProfileEqualFold(v string) predicate.TVShow
- func QualityProfileGT(v string) predicate.TVShow
- func QualityProfileGTE(v string) predicate.TVShow
- func QualityProfileHasPrefix(v string) predicate.TVShow
- func QualityProfileHasSuffix(v string) predicate.TVShow
- func QualityProfileIn(vs ...string) predicate.TVShow
- func QualityProfileIsNil() predicate.TVShow
- func QualityProfileLT(v string) predicate.TVShow
- func QualityProfileLTE(v string) predicate.TVShow
- func QualityProfileNEQ(v string) predicate.TVShow
- func QualityProfileNotIn(vs ...string) predicate.TVShow
- func QualityProfileNotNil() predicate.TVShow
- func Rating(v float64) predicate.TVShow
- func RatingEQ(v float64) predicate.TVShow
- func RatingGT(v float64) predicate.TVShow
- func RatingGTE(v float64) predicate.TVShow
- func RatingIn(vs ...float64) predicate.TVShow
- func RatingIsNil() predicate.TVShow
- func RatingLT(v float64) predicate.TVShow
- func RatingLTE(v float64) predicate.TVShow
- func RatingNEQ(v float64) predicate.TVShow
- func RatingNotIn(vs ...float64) predicate.TVShow
- func RatingNotNil() predicate.TVShow
- func Runtime(v uint16) predicate.TVShow
- func RuntimeEQ(v uint16) predicate.TVShow
- func RuntimeGT(v uint16) predicate.TVShow
- func RuntimeGTE(v uint16) predicate.TVShow
- func RuntimeIn(vs ...uint16) predicate.TVShow
- func RuntimeIsNil() predicate.TVShow
- func RuntimeLT(v uint16) predicate.TVShow
- func RuntimeLTE(v uint16) predicate.TVShow
- func RuntimeNEQ(v uint16) predicate.TVShow
- func RuntimeNotIn(vs ...uint16) predicate.TVShow
- func RuntimeNotNil() predicate.TVShow
- func SeriesStatusEQ(v SeriesStatus) predicate.TVShow
- func SeriesStatusIn(vs ...SeriesStatus) predicate.TVShow
- func SeriesStatusNEQ(v SeriesStatus) predicate.TVShow
- func SeriesStatusNotIn(vs ...SeriesStatus) predicate.TVShow
- func SeriesStatusValidator(ss SeriesStatus) error
- func Title(v string) predicate.TVShow
- func TitleContains(v string) predicate.TVShow
- func TitleContainsFold(v string) predicate.TVShow
- func TitleEQ(v string) predicate.TVShow
- func TitleEqualFold(v string) predicate.TVShow
- func TitleGT(v string) predicate.TVShow
- func TitleGTE(v string) predicate.TVShow
- func TitleHasPrefix(v string) predicate.TVShow
- func TitleHasSuffix(v string) predicate.TVShow
- func TitleIn(vs ...string) predicate.TVShow
- func TitleLT(v string) predicate.TVShow
- func TitleLTE(v string) predicate.TVShow
- func TitleNEQ(v string) predicate.TVShow
- func TitleNotIn(vs ...string) predicate.TVShow
- func TvdbID(v uint32) predicate.TVShow
- func TvdbIDEQ(v uint32) predicate.TVShow
- func TvdbIDGT(v uint32) predicate.TVShow
- func TvdbIDGTE(v uint32) predicate.TVShow
- func TvdbIDIn(vs ...uint32) predicate.TVShow
- func TvdbIDLT(v uint32) predicate.TVShow
- func TvdbIDLTE(v uint32) predicate.TVShow
- func TvdbIDNEQ(v uint32) predicate.TVShow
- func TvdbIDNotIn(vs ...uint32) predicate.TVShow
- func TypeEQ(v Type) predicate.TVShow
- func TypeIn(vs ...Type) predicate.TVShow
- func TypeNEQ(v Type) predicate.TVShow
- func TypeNotIn(vs ...Type) predicate.TVShow
- func TypeValidator(_type Type) error
- func UpdateTime(v time.Time) predicate.TVShow
- func UpdateTimeEQ(v time.Time) predicate.TVShow
- func UpdateTimeGT(v time.Time) predicate.TVShow
- func UpdateTimeGTE(v time.Time) predicate.TVShow
- func UpdateTimeIn(vs ...time.Time) predicate.TVShow
- func UpdateTimeLT(v time.Time) predicate.TVShow
- func UpdateTimeLTE(v time.Time) predicate.TVShow
- func UpdateTimeNEQ(v time.Time) predicate.TVShow
- func UpdateTimeNotIn(vs ...time.Time) predicate.TVShow
- func ValidColumn(column string) bool
- func Year(v uint16) predicate.TVShow
- func YearEQ(v uint16) predicate.TVShow
- func YearGT(v uint16) predicate.TVShow
- func YearGTE(v uint16) predicate.TVShow
- func YearIn(vs ...uint16) predicate.TVShow
- func YearLT(v uint16) predicate.TVShow
- func YearLTE(v uint16) predicate.TVShow
- func YearNEQ(v uint16) predicate.TVShow
- func YearNotIn(vs ...uint16) predicate.TVShow
- type OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByCreator(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastRefreshedAt(opts ...sql.OrderTermOption) OrderOption
- func ByMonitored(opts ...sql.OrderTermOption) OrderOption
- func ByNetwork(opts ...sql.OrderTermOption) OrderOption
- func ByOriginalTitle(opts ...sql.OrderTermOption) OrderOption
- func ByOverview(opts ...sql.OrderTermOption) OrderOption
- func ByPosterPath(opts ...sql.OrderTermOption) OrderOption
- func ByQualityProfile(opts ...sql.OrderTermOption) OrderOption
- func ByRating(opts ...sql.OrderTermOption) OrderOption
- func ByRuntime(opts ...sql.OrderTermOption) OrderOption
- func BySeasons(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySeasonsCount(opts ...sql.OrderTermOption) OrderOption
- func BySeriesStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByTvdbID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
- func ByYear(opts ...sql.OrderTermOption) OrderOption
- type SeriesStatus
- type Type
Constants ¶
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" )
const DefaultSeriesStatus = SeriesStatusContinuing
SeriesStatusContinuing is the default value of the SeriesStatus enum.
const DefaultType = TypeStandard
TypeStandard is the default value of the Type enum.
Variables ¶
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 )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldTitle, FieldOriginalTitle, FieldYear, FieldOverview, FieldSeriesStatus, FieldType, FieldMonitored, FieldTvdbID, FieldPosterPath, FieldNetwork, FieldCreator, FieldRuntime, FieldRating, FieldGenres, FieldLastRefreshedAt, FieldQualityProfile, }
Columns holds all SQL columns for tvshow fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Creator ¶
Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.
func CreatorContains ¶
CreatorContains applies the Contains predicate on the "creator" field.
func CreatorContainsFold ¶
CreatorContainsFold applies the ContainsFold predicate on the "creator" field.
func CreatorEqualFold ¶
CreatorEqualFold applies the EqualFold predicate on the "creator" field.
func CreatorGTE ¶
CreatorGTE applies the GTE predicate on the "creator" field.
func CreatorHasPrefix ¶
CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.
func CreatorHasSuffix ¶
CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.
func CreatorIsNil ¶
CreatorIsNil applies the IsNil predicate on the "creator" field.
func CreatorLTE ¶
CreatorLTE applies the LTE predicate on the "creator" field.
func CreatorNEQ ¶
CreatorNEQ applies the NEQ predicate on the "creator" field.
func CreatorNotIn ¶
CreatorNotIn applies the NotIn predicate on the "creator" field.
func CreatorNotNil ¶
CreatorNotNil applies the NotNil predicate on the "creator" field.
func GenresIsNil ¶
GenresIsNil applies the IsNil predicate on the "genres" field.
func GenresNotNil ¶
GenresNotNil applies the NotNil predicate on the "genres" field.
func HasSeasons ¶
HasSeasons applies the HasEdge predicate on the "seasons" edge.
func HasSeasonsWith ¶
HasSeasonsWith applies the HasEdge predicate on the "seasons" edge with a given conditions (other predicates).
func LastRefreshedAt ¶
LastRefreshedAt applies equality check predicate on the "last_refreshed_at" field. It's identical to LastRefreshedAtEQ.
func LastRefreshedAtEQ ¶
LastRefreshedAtEQ applies the EQ predicate on the "last_refreshed_at" field.
func LastRefreshedAtGT ¶
LastRefreshedAtGT applies the GT predicate on the "last_refreshed_at" field.
func LastRefreshedAtGTE ¶
LastRefreshedAtGTE applies the GTE predicate on the "last_refreshed_at" field.
func LastRefreshedAtIn ¶
LastRefreshedAtIn applies the In predicate on the "last_refreshed_at" field.
func LastRefreshedAtIsNil ¶
LastRefreshedAtIsNil applies the IsNil predicate on the "last_refreshed_at" field.
func LastRefreshedAtLT ¶
LastRefreshedAtLT applies the LT predicate on the "last_refreshed_at" field.
func LastRefreshedAtLTE ¶
LastRefreshedAtLTE applies the LTE predicate on the "last_refreshed_at" field.
func LastRefreshedAtNEQ ¶
LastRefreshedAtNEQ applies the NEQ predicate on the "last_refreshed_at" field.
func LastRefreshedAtNotIn ¶
LastRefreshedAtNotIn applies the NotIn predicate on the "last_refreshed_at" field.
func LastRefreshedAtNotNil ¶
LastRefreshedAtNotNil applies the NotNil predicate on the "last_refreshed_at" field.
func Monitored ¶
Monitored applies equality check predicate on the "monitored" field. It's identical to MonitoredEQ.
func MonitoredEQ ¶
MonitoredEQ applies the EQ predicate on the "monitored" field.
func MonitoredNEQ ¶
MonitoredNEQ applies the NEQ predicate on the "monitored" field.
func Network ¶
Network applies equality check predicate on the "network" field. It's identical to NetworkEQ.
func NetworkContains ¶
NetworkContains applies the Contains predicate on the "network" field.
func NetworkContainsFold ¶
NetworkContainsFold applies the ContainsFold predicate on the "network" field.
func NetworkEqualFold ¶
NetworkEqualFold applies the EqualFold predicate on the "network" field.
func NetworkGTE ¶
NetworkGTE applies the GTE predicate on the "network" field.
func NetworkHasPrefix ¶
NetworkHasPrefix applies the HasPrefix predicate on the "network" field.
func NetworkHasSuffix ¶
NetworkHasSuffix applies the HasSuffix predicate on the "network" field.
func NetworkIsNil ¶
NetworkIsNil applies the IsNil predicate on the "network" field.
func NetworkLTE ¶
NetworkLTE applies the LTE predicate on the "network" field.
func NetworkNEQ ¶
NetworkNEQ applies the NEQ predicate on the "network" field.
func NetworkNotIn ¶
NetworkNotIn applies the NotIn predicate on the "network" field.
func NetworkNotNil ¶
NetworkNotNil applies the NotNil predicate on the "network" field.
func OriginalTitle ¶
OriginalTitle applies equality check predicate on the "original_title" field. It's identical to OriginalTitleEQ.
func OriginalTitleContains ¶
OriginalTitleContains applies the Contains predicate on the "original_title" field.
func OriginalTitleContainsFold ¶
OriginalTitleContainsFold applies the ContainsFold predicate on the "original_title" field.
func OriginalTitleEQ ¶
OriginalTitleEQ applies the EQ predicate on the "original_title" field.
func OriginalTitleEqualFold ¶
OriginalTitleEqualFold applies the EqualFold predicate on the "original_title" field.
func OriginalTitleGT ¶
OriginalTitleGT applies the GT predicate on the "original_title" field.
func OriginalTitleGTE ¶
OriginalTitleGTE applies the GTE predicate on the "original_title" field.
func OriginalTitleHasPrefix ¶
OriginalTitleHasPrefix applies the HasPrefix predicate on the "original_title" field.
func OriginalTitleHasSuffix ¶
OriginalTitleHasSuffix applies the HasSuffix predicate on the "original_title" field.
func OriginalTitleIn ¶
OriginalTitleIn applies the In predicate on the "original_title" field.
func OriginalTitleIsNil ¶
OriginalTitleIsNil applies the IsNil predicate on the "original_title" field.
func OriginalTitleLT ¶
OriginalTitleLT applies the LT predicate on the "original_title" field.
func OriginalTitleLTE ¶
OriginalTitleLTE applies the LTE predicate on the "original_title" field.
func OriginalTitleNEQ ¶
OriginalTitleNEQ applies the NEQ predicate on the "original_title" field.
func OriginalTitleNotIn ¶
OriginalTitleNotIn applies the NotIn predicate on the "original_title" field.
func OriginalTitleNotNil ¶
OriginalTitleNotNil applies the NotNil predicate on the "original_title" field.
func Overview ¶
Overview applies equality check predicate on the "overview" field. It's identical to OverviewEQ.
func OverviewContains ¶
OverviewContains applies the Contains predicate on the "overview" field.
func OverviewContainsFold ¶
OverviewContainsFold applies the ContainsFold predicate on the "overview" field.
func OverviewEQ ¶
OverviewEQ applies the EQ predicate on the "overview" field.
func OverviewEqualFold ¶
OverviewEqualFold applies the EqualFold predicate on the "overview" field.
func OverviewGT ¶
OverviewGT applies the GT predicate on the "overview" field.
func OverviewGTE ¶
OverviewGTE applies the GTE predicate on the "overview" field.
func OverviewHasPrefix ¶
OverviewHasPrefix applies the HasPrefix predicate on the "overview" field.
func OverviewHasSuffix ¶
OverviewHasSuffix applies the HasSuffix predicate on the "overview" field.
func OverviewIn ¶
OverviewIn applies the In predicate on the "overview" field.
func OverviewIsNil ¶
OverviewIsNil applies the IsNil predicate on the "overview" field.
func OverviewLT ¶
OverviewLT applies the LT predicate on the "overview" field.
func OverviewLTE ¶
OverviewLTE applies the LTE predicate on the "overview" field.
func OverviewNEQ ¶
OverviewNEQ applies the NEQ predicate on the "overview" field.
func OverviewNotIn ¶
OverviewNotIn applies the NotIn predicate on the "overview" field.
func OverviewNotNil ¶
OverviewNotNil applies the NotNil predicate on the "overview" field.
func PosterPath ¶
PosterPath applies equality check predicate on the "poster_path" field. It's identical to PosterPathEQ.
func PosterPathContains ¶
PosterPathContains applies the Contains predicate on the "poster_path" field.
func PosterPathContainsFold ¶
PosterPathContainsFold applies the ContainsFold predicate on the "poster_path" field.
func PosterPathEQ ¶
PosterPathEQ applies the EQ predicate on the "poster_path" field.
func PosterPathEqualFold ¶
PosterPathEqualFold applies the EqualFold predicate on the "poster_path" field.
func PosterPathGT ¶
PosterPathGT applies the GT predicate on the "poster_path" field.
func PosterPathGTE ¶
PosterPathGTE applies the GTE predicate on the "poster_path" field.
func PosterPathHasPrefix ¶
PosterPathHasPrefix applies the HasPrefix predicate on the "poster_path" field.
func PosterPathHasSuffix ¶
PosterPathHasSuffix applies the HasSuffix predicate on the "poster_path" field.
func PosterPathIn ¶
PosterPathIn applies the In predicate on the "poster_path" field.
func PosterPathIsNil ¶
PosterPathIsNil applies the IsNil predicate on the "poster_path" field.
func PosterPathLT ¶
PosterPathLT applies the LT predicate on the "poster_path" field.
func PosterPathLTE ¶
PosterPathLTE applies the LTE predicate on the "poster_path" field.
func PosterPathNEQ ¶
PosterPathNEQ applies the NEQ predicate on the "poster_path" field.
func PosterPathNotIn ¶
PosterPathNotIn applies the NotIn predicate on the "poster_path" field.
func PosterPathNotNil ¶
PosterPathNotNil applies the NotNil predicate on the "poster_path" field.
func QualityProfile ¶
QualityProfile applies equality check predicate on the "quality_profile" field. It's identical to QualityProfileEQ.
func QualityProfileContains ¶
QualityProfileContains applies the Contains predicate on the "quality_profile" field.
func QualityProfileContainsFold ¶
QualityProfileContainsFold applies the ContainsFold predicate on the "quality_profile" field.
func QualityProfileEQ ¶
QualityProfileEQ applies the EQ predicate on the "quality_profile" field.
func QualityProfileEqualFold ¶
QualityProfileEqualFold applies the EqualFold predicate on the "quality_profile" field.
func QualityProfileGT ¶
QualityProfileGT applies the GT predicate on the "quality_profile" field.
func QualityProfileGTE ¶
QualityProfileGTE applies the GTE predicate on the "quality_profile" field.
func QualityProfileHasPrefix ¶
QualityProfileHasPrefix applies the HasPrefix predicate on the "quality_profile" field.
func QualityProfileHasSuffix ¶
QualityProfileHasSuffix applies the HasSuffix predicate on the "quality_profile" field.
func QualityProfileIn ¶
QualityProfileIn applies the In predicate on the "quality_profile" field.
func QualityProfileIsNil ¶
QualityProfileIsNil applies the IsNil predicate on the "quality_profile" field.
func QualityProfileLT ¶
QualityProfileLT applies the LT predicate on the "quality_profile" field.
func QualityProfileLTE ¶
QualityProfileLTE applies the LTE predicate on the "quality_profile" field.
func QualityProfileNEQ ¶
QualityProfileNEQ applies the NEQ predicate on the "quality_profile" field.
func QualityProfileNotIn ¶
QualityProfileNotIn applies the NotIn predicate on the "quality_profile" field.
func QualityProfileNotNil ¶
QualityProfileNotNil applies the NotNil predicate on the "quality_profile" field.
func Rating ¶
Rating applies equality check predicate on the "rating" field. It's identical to RatingEQ.
func RatingIsNil ¶
RatingIsNil applies the IsNil predicate on the "rating" field.
func RatingNotIn ¶
RatingNotIn applies the NotIn predicate on the "rating" field.
func RatingNotNil ¶
RatingNotNil applies the NotNil predicate on the "rating" field.
func Runtime ¶
Runtime applies equality check predicate on the "runtime" field. It's identical to RuntimeEQ.
func RuntimeGTE ¶
RuntimeGTE applies the GTE predicate on the "runtime" field.
func RuntimeIsNil ¶
RuntimeIsNil applies the IsNil predicate on the "runtime" field.
func RuntimeLTE ¶
RuntimeLTE applies the LTE predicate on the "runtime" field.
func RuntimeNEQ ¶
RuntimeNEQ applies the NEQ predicate on the "runtime" field.
func RuntimeNotIn ¶
RuntimeNotIn applies the NotIn predicate on the "runtime" field.
func RuntimeNotNil ¶
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 ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func TvdbID ¶
TvdbID applies equality check predicate on the "tvdb_id" field. It's identical to TvdbIDEQ.
func TvdbIDNotIn ¶
TvdbIDNotIn applies the NotIn predicate on the "tvdb_id" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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