youtubetalent

package
v0.0.0-...-905e761 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the youtubetalent type in the database.
	Label = "you_tube_talent"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldChannelName holds the string denoting the channel_name field in the database.
	FieldChannelName = "channel_name"
	// FieldThumbnailURL holds the string denoting the thumbnail_url field in the database.
	FieldThumbnailURL = "thumbnail_url"
	// FieldMembershipVideoID holds the string denoting the membership_video_id field in the database.
	FieldMembershipVideoID = "membership_video_id"
	// FieldLastMembershipVideoIDMiss holds the string denoting the last_membership_video_id_miss field in the database.
	FieldLastMembershipVideoIDMiss = "last_membership_video_id_miss"
	// FieldLastUpdated holds the string denoting the last_updated field in the database.
	FieldLastUpdated = "last_updated"
	// FieldDisabled holds the string denoting the disabled field in the database.
	FieldDisabled = "disabled"
	// FieldDisabledPermanently holds the string denoting the disabled_permanently field in the database.
	FieldDisabledPermanently = "disabled_permanently"
	// EdgeGuilds holds the string denoting the guilds edge name in mutations.
	EdgeGuilds = "guilds"
	// EdgeRoles holds the string denoting the roles edge name in mutations.
	EdgeRoles = "roles"
	// EdgeMemberships holds the string denoting the memberships edge name in mutations.
	EdgeMemberships = "memberships"
	// Table holds the table name of the youtubetalent in the database.
	Table = "you_tube_talents"
	// GuildsTable is the table that holds the guilds relation/edge. The primary key declared below.
	GuildsTable = "you_tube_talent_guilds"
	// GuildsInverseTable is the table name for the Guild entity.
	// It exists in this package in order to avoid circular dependency with the "guild" package.
	GuildsInverseTable = "guilds"
	// RolesTable is the table that holds the roles relation/edge.
	RolesTable = "guild_roles"
	// RolesInverseTable is the table name for the GuildRole entity.
	// It exists in this package in order to avoid circular dependency with the "guildrole" package.
	RolesInverseTable = "guild_roles"
	// RolesColumn is the table column denoting the roles relation/edge.
	RolesColumn = "you_tube_talent_roles"
	// MembershipsTable is the table that holds the memberships relation/edge.
	MembershipsTable = "user_memberships"
	// MembershipsInverseTable is the table name for the UserMembership entity.
	// It exists in this package in order to avoid circular dependency with the "usermembership" package.
	MembershipsInverseTable = "user_memberships"
	// MembershipsColumn is the table column denoting the memberships relation/edge.
	MembershipsColumn = "user_membership_youtube_talent"
)

Variables

View Source
var (
	// DefaultLastUpdated holds the default value on creation for the "last_updated" field.
	DefaultLastUpdated func() time.Time
	// DefaultDisabledPermanently holds the default value on creation for the "disabled_permanently" field.
	DefaultDisabledPermanently bool
)

Columns holds all SQL columns for youtubetalent fields.

View Source
var (
	// GuildsPrimaryKey and GuildsColumn2 are the table columns denoting the
	// primary key for the guilds relation (M2M).
	GuildsPrimaryKey = []string{"you_tube_talent_id", "guild_id"}
)

Functions

func And

And groups predicates with the AND operator between them.

func ChannelName

func ChannelName(v string) predicate.YouTubeTalent

ChannelName applies equality check predicate on the "channel_name" field. It's identical to ChannelNameEQ.

func ChannelNameContains

func ChannelNameContains(v string) predicate.YouTubeTalent

ChannelNameContains applies the Contains predicate on the "channel_name" field.

func ChannelNameContainsFold

func ChannelNameContainsFold(v string) predicate.YouTubeTalent

ChannelNameContainsFold applies the ContainsFold predicate on the "channel_name" field.

func ChannelNameEQ

func ChannelNameEQ(v string) predicate.YouTubeTalent

ChannelNameEQ applies the EQ predicate on the "channel_name" field.

func ChannelNameEqualFold

func ChannelNameEqualFold(v string) predicate.YouTubeTalent

ChannelNameEqualFold applies the EqualFold predicate on the "channel_name" field.

func ChannelNameGT

func ChannelNameGT(v string) predicate.YouTubeTalent

ChannelNameGT applies the GT predicate on the "channel_name" field.

func ChannelNameGTE

func ChannelNameGTE(v string) predicate.YouTubeTalent

ChannelNameGTE applies the GTE predicate on the "channel_name" field.

func ChannelNameHasPrefix

func ChannelNameHasPrefix(v string) predicate.YouTubeTalent

ChannelNameHasPrefix applies the HasPrefix predicate on the "channel_name" field.

func ChannelNameHasSuffix

func ChannelNameHasSuffix(v string) predicate.YouTubeTalent

ChannelNameHasSuffix applies the HasSuffix predicate on the "channel_name" field.

func ChannelNameIn

func ChannelNameIn(vs ...string) predicate.YouTubeTalent

ChannelNameIn applies the In predicate on the "channel_name" field.

func ChannelNameLT

func ChannelNameLT(v string) predicate.YouTubeTalent

ChannelNameLT applies the LT predicate on the "channel_name" field.

func ChannelNameLTE

func ChannelNameLTE(v string) predicate.YouTubeTalent

ChannelNameLTE applies the LTE predicate on the "channel_name" field.

func ChannelNameNEQ

func ChannelNameNEQ(v string) predicate.YouTubeTalent

ChannelNameNEQ applies the NEQ predicate on the "channel_name" field.

func ChannelNameNotIn

func ChannelNameNotIn(vs ...string) predicate.YouTubeTalent

ChannelNameNotIn applies the NotIn predicate on the "channel_name" field.

func Disabled

func Disabled(v time.Time) predicate.YouTubeTalent

Disabled applies equality check predicate on the "disabled" field. It's identical to DisabledEQ.

func DisabledEQ

func DisabledEQ(v time.Time) predicate.YouTubeTalent

DisabledEQ applies the EQ predicate on the "disabled" field.

func DisabledGT

func DisabledGT(v time.Time) predicate.YouTubeTalent

DisabledGT applies the GT predicate on the "disabled" field.

func DisabledGTE

func DisabledGTE(v time.Time) predicate.YouTubeTalent

DisabledGTE applies the GTE predicate on the "disabled" field.

func DisabledIn

func DisabledIn(vs ...time.Time) predicate.YouTubeTalent

DisabledIn applies the In predicate on the "disabled" field.

func DisabledIsNil

func DisabledIsNil() predicate.YouTubeTalent

DisabledIsNil applies the IsNil predicate on the "disabled" field.

func DisabledLT

func DisabledLT(v time.Time) predicate.YouTubeTalent

DisabledLT applies the LT predicate on the "disabled" field.

func DisabledLTE

func DisabledLTE(v time.Time) predicate.YouTubeTalent

DisabledLTE applies the LTE predicate on the "disabled" field.

func DisabledNEQ

func DisabledNEQ(v time.Time) predicate.YouTubeTalent

DisabledNEQ applies the NEQ predicate on the "disabled" field.

func DisabledNotIn

func DisabledNotIn(vs ...time.Time) predicate.YouTubeTalent

DisabledNotIn applies the NotIn predicate on the "disabled" field.

func DisabledNotNil

func DisabledNotNil() predicate.YouTubeTalent

DisabledNotNil applies the NotNil predicate on the "disabled" field.

func DisabledPermanently

func DisabledPermanently(v bool) predicate.YouTubeTalent

DisabledPermanently applies equality check predicate on the "disabled_permanently" field. It's identical to DisabledPermanentlyEQ.

func DisabledPermanentlyEQ

func DisabledPermanentlyEQ(v bool) predicate.YouTubeTalent

DisabledPermanentlyEQ applies the EQ predicate on the "disabled_permanently" field.

func DisabledPermanentlyNEQ

func DisabledPermanentlyNEQ(v bool) predicate.YouTubeTalent

DisabledPermanentlyNEQ applies the NEQ predicate on the "disabled_permanently" field.

func HasGuilds

func HasGuilds() predicate.YouTubeTalent

HasGuilds applies the HasEdge predicate on the "guilds" edge.

func HasGuildsWith

func HasGuildsWith(preds ...predicate.Guild) predicate.YouTubeTalent

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

func HasMemberships

func HasMemberships() predicate.YouTubeTalent

HasMemberships applies the HasEdge predicate on the "memberships" edge.

func HasMembershipsWith

func HasMembershipsWith(preds ...predicate.UserMembership) predicate.YouTubeTalent

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

func HasRoles

func HasRoles() predicate.YouTubeTalent

HasRoles applies the HasEdge predicate on the "roles" edge.

func HasRolesWith

func HasRolesWith(preds ...predicate.GuildRole) predicate.YouTubeTalent

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.YouTubeTalent

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.YouTubeTalent

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.YouTubeTalent

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.YouTubeTalent

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.YouTubeTalent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.YouTubeTalent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.YouTubeTalent

IDNotIn applies the NotIn predicate on the ID field.

func LastMembershipVideoIDMiss

func LastMembershipVideoIDMiss(v time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMiss applies equality check predicate on the "last_membership_video_id_miss" field. It's identical to LastMembershipVideoIDMissEQ.

func LastMembershipVideoIDMissEQ

func LastMembershipVideoIDMissEQ(v time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissEQ applies the EQ predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissGT

func LastMembershipVideoIDMissGT(v time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissGT applies the GT predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissGTE

func LastMembershipVideoIDMissGTE(v time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissGTE applies the GTE predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissIn

func LastMembershipVideoIDMissIn(vs ...time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissIn applies the In predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissIsNil

func LastMembershipVideoIDMissIsNil() predicate.YouTubeTalent

LastMembershipVideoIDMissIsNil applies the IsNil predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissLT

func LastMembershipVideoIDMissLT(v time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissLT applies the LT predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissLTE

func LastMembershipVideoIDMissLTE(v time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissLTE applies the LTE predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissNEQ

func LastMembershipVideoIDMissNEQ(v time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissNEQ applies the NEQ predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissNotIn

func LastMembershipVideoIDMissNotIn(vs ...time.Time) predicate.YouTubeTalent

LastMembershipVideoIDMissNotIn applies the NotIn predicate on the "last_membership_video_id_miss" field.

func LastMembershipVideoIDMissNotNil

func LastMembershipVideoIDMissNotNil() predicate.YouTubeTalent

LastMembershipVideoIDMissNotNil applies the NotNil predicate on the "last_membership_video_id_miss" field.

func LastUpdated

func LastUpdated(v time.Time) predicate.YouTubeTalent

LastUpdated applies equality check predicate on the "last_updated" field. It's identical to LastUpdatedEQ.

func LastUpdatedEQ

func LastUpdatedEQ(v time.Time) predicate.YouTubeTalent

LastUpdatedEQ applies the EQ predicate on the "last_updated" field.

func LastUpdatedGT

func LastUpdatedGT(v time.Time) predicate.YouTubeTalent

LastUpdatedGT applies the GT predicate on the "last_updated" field.

func LastUpdatedGTE

func LastUpdatedGTE(v time.Time) predicate.YouTubeTalent

LastUpdatedGTE applies the GTE predicate on the "last_updated" field.

func LastUpdatedIn

func LastUpdatedIn(vs ...time.Time) predicate.YouTubeTalent

LastUpdatedIn applies the In predicate on the "last_updated" field.

func LastUpdatedLT

func LastUpdatedLT(v time.Time) predicate.YouTubeTalent

LastUpdatedLT applies the LT predicate on the "last_updated" field.

func LastUpdatedLTE

func LastUpdatedLTE(v time.Time) predicate.YouTubeTalent

LastUpdatedLTE applies the LTE predicate on the "last_updated" field.

func LastUpdatedNEQ

func LastUpdatedNEQ(v time.Time) predicate.YouTubeTalent

LastUpdatedNEQ applies the NEQ predicate on the "last_updated" field.

func LastUpdatedNotIn

func LastUpdatedNotIn(vs ...time.Time) predicate.YouTubeTalent

LastUpdatedNotIn applies the NotIn predicate on the "last_updated" field.

func MembershipVideoID

func MembershipVideoID(v string) predicate.YouTubeTalent

MembershipVideoID applies equality check predicate on the "membership_video_id" field. It's identical to MembershipVideoIDEQ.

func MembershipVideoIDContains

func MembershipVideoIDContains(v string) predicate.YouTubeTalent

MembershipVideoIDContains applies the Contains predicate on the "membership_video_id" field.

func MembershipVideoIDContainsFold

func MembershipVideoIDContainsFold(v string) predicate.YouTubeTalent

MembershipVideoIDContainsFold applies the ContainsFold predicate on the "membership_video_id" field.

func MembershipVideoIDEQ

func MembershipVideoIDEQ(v string) predicate.YouTubeTalent

MembershipVideoIDEQ applies the EQ predicate on the "membership_video_id" field.

func MembershipVideoIDEqualFold

func MembershipVideoIDEqualFold(v string) predicate.YouTubeTalent

MembershipVideoIDEqualFold applies the EqualFold predicate on the "membership_video_id" field.

func MembershipVideoIDGT

func MembershipVideoIDGT(v string) predicate.YouTubeTalent

MembershipVideoIDGT applies the GT predicate on the "membership_video_id" field.

func MembershipVideoIDGTE

func MembershipVideoIDGTE(v string) predicate.YouTubeTalent

MembershipVideoIDGTE applies the GTE predicate on the "membership_video_id" field.

func MembershipVideoIDHasPrefix

func MembershipVideoIDHasPrefix(v string) predicate.YouTubeTalent

MembershipVideoIDHasPrefix applies the HasPrefix predicate on the "membership_video_id" field.

func MembershipVideoIDHasSuffix

func MembershipVideoIDHasSuffix(v string) predicate.YouTubeTalent

MembershipVideoIDHasSuffix applies the HasSuffix predicate on the "membership_video_id" field.

func MembershipVideoIDIn

func MembershipVideoIDIn(vs ...string) predicate.YouTubeTalent

MembershipVideoIDIn applies the In predicate on the "membership_video_id" field.

func MembershipVideoIDIsNil

func MembershipVideoIDIsNil() predicate.YouTubeTalent

MembershipVideoIDIsNil applies the IsNil predicate on the "membership_video_id" field.

func MembershipVideoIDLT

func MembershipVideoIDLT(v string) predicate.YouTubeTalent

MembershipVideoIDLT applies the LT predicate on the "membership_video_id" field.

func MembershipVideoIDLTE

func MembershipVideoIDLTE(v string) predicate.YouTubeTalent

MembershipVideoIDLTE applies the LTE predicate on the "membership_video_id" field.

func MembershipVideoIDNEQ

func MembershipVideoIDNEQ(v string) predicate.YouTubeTalent

MembershipVideoIDNEQ applies the NEQ predicate on the "membership_video_id" field.

func MembershipVideoIDNotIn

func MembershipVideoIDNotIn(vs ...string) predicate.YouTubeTalent

MembershipVideoIDNotIn applies the NotIn predicate on the "membership_video_id" field.

func MembershipVideoIDNotNil

func MembershipVideoIDNotNil() predicate.YouTubeTalent

MembershipVideoIDNotNil applies the NotNil predicate on the "membership_video_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ThumbnailURL

func ThumbnailURL(v string) predicate.YouTubeTalent

ThumbnailURL applies equality check predicate on the "thumbnail_url" field. It's identical to ThumbnailURLEQ.

func ThumbnailURLContains

func ThumbnailURLContains(v string) predicate.YouTubeTalent

ThumbnailURLContains applies the Contains predicate on the "thumbnail_url" field.

func ThumbnailURLContainsFold

func ThumbnailURLContainsFold(v string) predicate.YouTubeTalent

ThumbnailURLContainsFold applies the ContainsFold predicate on the "thumbnail_url" field.

func ThumbnailURLEQ

func ThumbnailURLEQ(v string) predicate.YouTubeTalent

ThumbnailURLEQ applies the EQ predicate on the "thumbnail_url" field.

func ThumbnailURLEqualFold

func ThumbnailURLEqualFold(v string) predicate.YouTubeTalent

ThumbnailURLEqualFold applies the EqualFold predicate on the "thumbnail_url" field.

func ThumbnailURLGT

func ThumbnailURLGT(v string) predicate.YouTubeTalent

ThumbnailURLGT applies the GT predicate on the "thumbnail_url" field.

func ThumbnailURLGTE

func ThumbnailURLGTE(v string) predicate.YouTubeTalent

ThumbnailURLGTE applies the GTE predicate on the "thumbnail_url" field.

func ThumbnailURLHasPrefix

func ThumbnailURLHasPrefix(v string) predicate.YouTubeTalent

ThumbnailURLHasPrefix applies the HasPrefix predicate on the "thumbnail_url" field.

func ThumbnailURLHasSuffix

func ThumbnailURLHasSuffix(v string) predicate.YouTubeTalent

ThumbnailURLHasSuffix applies the HasSuffix predicate on the "thumbnail_url" field.

func ThumbnailURLIn

func ThumbnailURLIn(vs ...string) predicate.YouTubeTalent

ThumbnailURLIn applies the In predicate on the "thumbnail_url" field.

func ThumbnailURLLT

func ThumbnailURLLT(v string) predicate.YouTubeTalent

ThumbnailURLLT applies the LT predicate on the "thumbnail_url" field.

func ThumbnailURLLTE

func ThumbnailURLLTE(v string) predicate.YouTubeTalent

ThumbnailURLLTE applies the LTE predicate on the "thumbnail_url" field.

func ThumbnailURLNEQ

func ThumbnailURLNEQ(v string) predicate.YouTubeTalent

ThumbnailURLNEQ applies the NEQ predicate on the "thumbnail_url" field.

func ThumbnailURLNotIn

func ThumbnailURLNotIn(vs ...string) predicate.YouTubeTalent

ThumbnailURLNotIn applies the NotIn predicate on the "thumbnail_url" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the YouTubeTalent queries.

func ByChannelName

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

ByChannelName orders the results by the channel_name field.

func ByDisabled

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

ByDisabled orders the results by the disabled field.

func ByDisabledPermanently

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

ByDisabledPermanently orders the results by the disabled_permanently field.

func ByGuilds

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

ByGuilds orders the results by guilds terms.

func ByGuildsCount

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

ByGuildsCount orders the results by guilds count.

func ByID

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

ByID orders the results by the id field.

func ByLastMembershipVideoIDMiss

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

ByLastMembershipVideoIDMiss orders the results by the last_membership_video_id_miss field.

func ByLastUpdated

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

ByLastUpdated orders the results by the last_updated field.

func ByMembershipVideoID

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

ByMembershipVideoID orders the results by the membership_video_id field.

func ByMemberships

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

ByMemberships orders the results by memberships terms.

func ByMembershipsCount

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

ByMembershipsCount orders the results by memberships count.

func ByRoles

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

ByRoles orders the results by roles terms.

func ByRolesCount

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

ByRolesCount orders the results by roles count.

func ByThumbnailURL

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

ByThumbnailURL orders the results by the thumbnail_url field.

Jump to

Keyboard shortcuts

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