vod

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the vod type in the database.
	Label = "vod"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldExtID holds the string denoting the ext_id field in the database.
	FieldExtID = "ext_id"
	// FieldPlatform holds the string denoting the platform field in the database.
	FieldPlatform = "platform"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDuration holds the string denoting the duration field in the database.
	FieldDuration = "duration"
	// FieldViews holds the string denoting the views field in the database.
	FieldViews = "views"
	// FieldResolution holds the string denoting the resolution field in the database.
	FieldResolution = "resolution"
	// FieldProcessing holds the string denoting the processing field in the database.
	FieldProcessing = "processing"
	// FieldThumbnailPath holds the string denoting the thumbnail_path field in the database.
	FieldThumbnailPath = "thumbnail_path"
	// FieldWebThumbnailPath holds the string denoting the web_thumbnail_path field in the database.
	FieldWebThumbnailPath = "web_thumbnail_path"
	// FieldVideoPath holds the string denoting the video_path field in the database.
	FieldVideoPath = "video_path"
	// FieldChatPath holds the string denoting the chat_path field in the database.
	FieldChatPath = "chat_path"
	// FieldChatVideoPath holds the string denoting the chat_video_path field in the database.
	FieldChatVideoPath = "chat_video_path"
	// FieldInfoPath holds the string denoting the info_path field in the database.
	FieldInfoPath = "info_path"
	// FieldStreamedAt holds the string denoting the streamed_at field in the database.
	FieldStreamedAt = "streamed_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeChannel holds the string denoting the channel edge name in mutations.
	EdgeChannel = "channel"
	// EdgeQueue holds the string denoting the queue edge name in mutations.
	EdgeQueue = "queue"
	// EdgePlaylists holds the string denoting the playlists edge name in mutations.
	EdgePlaylists = "playlists"
	// Table holds the table name of the vod in the database.
	Table = "vods"
	// ChannelTable is the table that holds the channel relation/edge.
	ChannelTable = "vods"
	// ChannelInverseTable is the table name for the Channel entity.
	// It exists in this package in order to avoid circular dependency with the "channel" package.
	ChannelInverseTable = "channels"
	// ChannelColumn is the table column denoting the channel relation/edge.
	ChannelColumn = "channel_vods"
	// QueueTable is the table that holds the queue relation/edge.
	QueueTable = "queues"
	// QueueInverseTable is the table name for the Queue entity.
	// It exists in this package in order to avoid circular dependency with the "queue" package.
	QueueInverseTable = "queues"
	// QueueColumn is the table column denoting the queue relation/edge.
	QueueColumn = "vod_queue"
	// PlaylistsTable is the table that holds the playlists relation/edge. The primary key declared below.
	PlaylistsTable = "playlist_vods"
	// PlaylistsInverseTable is the table name for the Playlist entity.
	// It exists in this package in order to avoid circular dependency with the "playlist" package.
	PlaylistsInverseTable = "playlists"
)
View Source
const DefaultPlatform utils.VodPlatform = "twitch"
View Source
const DefaultType utils.VodType = "archive"

Variables

View Source
var (
	// DefaultDuration holds the default value on creation for the "duration" field.
	DefaultDuration int
	// DefaultViews holds the default value on creation for the "views" field.
	DefaultViews int
	// DefaultProcessing holds the default value on creation for the "processing" field.
	DefaultProcessing bool
	// DefaultStreamedAt holds the default value on creation for the "streamed_at" field.
	DefaultStreamedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for vod fields.

View Source
var ForeignKeys = []string{
	"channel_vods",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "vods" table and are not defined as standalone fields in the schema.

View Source
var (
	// PlaylistsPrimaryKey and PlaylistsColumn2 are the table columns denoting the
	// primary key for the playlists relation (M2M).
	PlaylistsPrimaryKey = []string{"playlist_id", "vod_id"}
)

Functions

func And

func And(predicates ...predicate.Vod) predicate.Vod

And groups predicates with the AND operator between them.

func ChatPath

func ChatPath(v string) predicate.Vod

ChatPath applies equality check predicate on the "chat_path" field. It's identical to ChatPathEQ.

func ChatPathContains

func ChatPathContains(v string) predicate.Vod

ChatPathContains applies the Contains predicate on the "chat_path" field.

func ChatPathContainsFold

func ChatPathContainsFold(v string) predicate.Vod

ChatPathContainsFold applies the ContainsFold predicate on the "chat_path" field.

func ChatPathEQ

func ChatPathEQ(v string) predicate.Vod

ChatPathEQ applies the EQ predicate on the "chat_path" field.

func ChatPathEqualFold

func ChatPathEqualFold(v string) predicate.Vod

ChatPathEqualFold applies the EqualFold predicate on the "chat_path" field.

func ChatPathGT

func ChatPathGT(v string) predicate.Vod

ChatPathGT applies the GT predicate on the "chat_path" field.

func ChatPathGTE

func ChatPathGTE(v string) predicate.Vod

ChatPathGTE applies the GTE predicate on the "chat_path" field.

func ChatPathHasPrefix

func ChatPathHasPrefix(v string) predicate.Vod

ChatPathHasPrefix applies the HasPrefix predicate on the "chat_path" field.

func ChatPathHasSuffix

func ChatPathHasSuffix(v string) predicate.Vod

ChatPathHasSuffix applies the HasSuffix predicate on the "chat_path" field.

func ChatPathIn

func ChatPathIn(vs ...string) predicate.Vod

ChatPathIn applies the In predicate on the "chat_path" field.

func ChatPathIsNil

func ChatPathIsNil() predicate.Vod

ChatPathIsNil applies the IsNil predicate on the "chat_path" field.

func ChatPathLT

func ChatPathLT(v string) predicate.Vod

ChatPathLT applies the LT predicate on the "chat_path" field.

func ChatPathLTE

func ChatPathLTE(v string) predicate.Vod

ChatPathLTE applies the LTE predicate on the "chat_path" field.

func ChatPathNEQ

func ChatPathNEQ(v string) predicate.Vod

ChatPathNEQ applies the NEQ predicate on the "chat_path" field.

func ChatPathNotIn

func ChatPathNotIn(vs ...string) predicate.Vod

ChatPathNotIn applies the NotIn predicate on the "chat_path" field.

func ChatPathNotNil

func ChatPathNotNil() predicate.Vod

ChatPathNotNil applies the NotNil predicate on the "chat_path" field.

func ChatVideoPath

func ChatVideoPath(v string) predicate.Vod

ChatVideoPath applies equality check predicate on the "chat_video_path" field. It's identical to ChatVideoPathEQ.

func ChatVideoPathContains

func ChatVideoPathContains(v string) predicate.Vod

ChatVideoPathContains applies the Contains predicate on the "chat_video_path" field.

func ChatVideoPathContainsFold

func ChatVideoPathContainsFold(v string) predicate.Vod

ChatVideoPathContainsFold applies the ContainsFold predicate on the "chat_video_path" field.

func ChatVideoPathEQ

func ChatVideoPathEQ(v string) predicate.Vod

ChatVideoPathEQ applies the EQ predicate on the "chat_video_path" field.

func ChatVideoPathEqualFold

func ChatVideoPathEqualFold(v string) predicate.Vod

ChatVideoPathEqualFold applies the EqualFold predicate on the "chat_video_path" field.

func ChatVideoPathGT

func ChatVideoPathGT(v string) predicate.Vod

ChatVideoPathGT applies the GT predicate on the "chat_video_path" field.

func ChatVideoPathGTE

func ChatVideoPathGTE(v string) predicate.Vod

ChatVideoPathGTE applies the GTE predicate on the "chat_video_path" field.

func ChatVideoPathHasPrefix

func ChatVideoPathHasPrefix(v string) predicate.Vod

ChatVideoPathHasPrefix applies the HasPrefix predicate on the "chat_video_path" field.

func ChatVideoPathHasSuffix

func ChatVideoPathHasSuffix(v string) predicate.Vod

ChatVideoPathHasSuffix applies the HasSuffix predicate on the "chat_video_path" field.

func ChatVideoPathIn

func ChatVideoPathIn(vs ...string) predicate.Vod

ChatVideoPathIn applies the In predicate on the "chat_video_path" field.

func ChatVideoPathIsNil

func ChatVideoPathIsNil() predicate.Vod

ChatVideoPathIsNil applies the IsNil predicate on the "chat_video_path" field.

func ChatVideoPathLT

func ChatVideoPathLT(v string) predicate.Vod

ChatVideoPathLT applies the LT predicate on the "chat_video_path" field.

func ChatVideoPathLTE

func ChatVideoPathLTE(v string) predicate.Vod

ChatVideoPathLTE applies the LTE predicate on the "chat_video_path" field.

func ChatVideoPathNEQ

func ChatVideoPathNEQ(v string) predicate.Vod

ChatVideoPathNEQ applies the NEQ predicate on the "chat_video_path" field.

func ChatVideoPathNotIn

func ChatVideoPathNotIn(vs ...string) predicate.Vod

ChatVideoPathNotIn applies the NotIn predicate on the "chat_video_path" field.

func ChatVideoPathNotNil

func ChatVideoPathNotNil() predicate.Vod

ChatVideoPathNotNil applies the NotNil predicate on the "chat_video_path" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Vod

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Vod

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Vod

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Vod

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Vod

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Vod

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Vod

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Vod

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Vod

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Duration

func Duration(v int) predicate.Vod

Duration applies equality check predicate on the "duration" field. It's identical to DurationEQ.

func DurationEQ

func DurationEQ(v int) predicate.Vod

DurationEQ applies the EQ predicate on the "duration" field.

func DurationGT

func DurationGT(v int) predicate.Vod

DurationGT applies the GT predicate on the "duration" field.

func DurationGTE

func DurationGTE(v int) predicate.Vod

DurationGTE applies the GTE predicate on the "duration" field.

func DurationIn

func DurationIn(vs ...int) predicate.Vod

DurationIn applies the In predicate on the "duration" field.

func DurationLT

func DurationLT(v int) predicate.Vod

DurationLT applies the LT predicate on the "duration" field.

func DurationLTE

func DurationLTE(v int) predicate.Vod

DurationLTE applies the LTE predicate on the "duration" field.

func DurationNEQ

func DurationNEQ(v int) predicate.Vod

DurationNEQ applies the NEQ predicate on the "duration" field.

func DurationNotIn

func DurationNotIn(vs ...int) predicate.Vod

DurationNotIn applies the NotIn predicate on the "duration" field.

func ExtID

func ExtID(v string) predicate.Vod

ExtID applies equality check predicate on the "ext_id" field. It's identical to ExtIDEQ.

func ExtIDContains

func ExtIDContains(v string) predicate.Vod

ExtIDContains applies the Contains predicate on the "ext_id" field.

func ExtIDContainsFold

func ExtIDContainsFold(v string) predicate.Vod

ExtIDContainsFold applies the ContainsFold predicate on the "ext_id" field.

func ExtIDEQ

func ExtIDEQ(v string) predicate.Vod

ExtIDEQ applies the EQ predicate on the "ext_id" field.

func ExtIDEqualFold

func ExtIDEqualFold(v string) predicate.Vod

ExtIDEqualFold applies the EqualFold predicate on the "ext_id" field.

func ExtIDGT

func ExtIDGT(v string) predicate.Vod

ExtIDGT applies the GT predicate on the "ext_id" field.

func ExtIDGTE

func ExtIDGTE(v string) predicate.Vod

ExtIDGTE applies the GTE predicate on the "ext_id" field.

func ExtIDHasPrefix

func ExtIDHasPrefix(v string) predicate.Vod

ExtIDHasPrefix applies the HasPrefix predicate on the "ext_id" field.

func ExtIDHasSuffix

func ExtIDHasSuffix(v string) predicate.Vod

ExtIDHasSuffix applies the HasSuffix predicate on the "ext_id" field.

func ExtIDIn

func ExtIDIn(vs ...string) predicate.Vod

ExtIDIn applies the In predicate on the "ext_id" field.

func ExtIDLT

func ExtIDLT(v string) predicate.Vod

ExtIDLT applies the LT predicate on the "ext_id" field.

func ExtIDLTE

func ExtIDLTE(v string) predicate.Vod

ExtIDLTE applies the LTE predicate on the "ext_id" field.

func ExtIDNEQ

func ExtIDNEQ(v string) predicate.Vod

ExtIDNEQ applies the NEQ predicate on the "ext_id" field.

func ExtIDNotIn

func ExtIDNotIn(vs ...string) predicate.Vod

ExtIDNotIn applies the NotIn predicate on the "ext_id" field.

func HasChannel

func HasChannel() predicate.Vod

HasChannel applies the HasEdge predicate on the "channel" edge.

func HasChannelWith

func HasChannelWith(preds ...predicate.Channel) predicate.Vod

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

func HasPlaylists added in v1.0.0

func HasPlaylists() predicate.Vod

HasPlaylists applies the HasEdge predicate on the "playlists" edge.

func HasPlaylistsWith added in v1.0.0

func HasPlaylistsWith(preds ...predicate.Playlist) predicate.Vod

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

func HasQueue

func HasQueue() predicate.Vod

HasQueue applies the HasEdge predicate on the "queue" edge.

func HasQueueWith

func HasQueueWith(preds ...predicate.Queue) predicate.Vod

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

func ID

func ID(id uuid.UUID) predicate.Vod

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Vod

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Vod

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Vod

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Vod

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Vod

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Vod

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Vod

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Vod

IDNotIn applies the NotIn predicate on the ID field.

func InfoPath

func InfoPath(v string) predicate.Vod

InfoPath applies equality check predicate on the "info_path" field. It's identical to InfoPathEQ.

func InfoPathContains

func InfoPathContains(v string) predicate.Vod

InfoPathContains applies the Contains predicate on the "info_path" field.

func InfoPathContainsFold

func InfoPathContainsFold(v string) predicate.Vod

InfoPathContainsFold applies the ContainsFold predicate on the "info_path" field.

func InfoPathEQ

func InfoPathEQ(v string) predicate.Vod

InfoPathEQ applies the EQ predicate on the "info_path" field.

func InfoPathEqualFold

func InfoPathEqualFold(v string) predicate.Vod

InfoPathEqualFold applies the EqualFold predicate on the "info_path" field.

func InfoPathGT

func InfoPathGT(v string) predicate.Vod

InfoPathGT applies the GT predicate on the "info_path" field.

func InfoPathGTE

func InfoPathGTE(v string) predicate.Vod

InfoPathGTE applies the GTE predicate on the "info_path" field.

func InfoPathHasPrefix

func InfoPathHasPrefix(v string) predicate.Vod

InfoPathHasPrefix applies the HasPrefix predicate on the "info_path" field.

func InfoPathHasSuffix

func InfoPathHasSuffix(v string) predicate.Vod

InfoPathHasSuffix applies the HasSuffix predicate on the "info_path" field.

func InfoPathIn

func InfoPathIn(vs ...string) predicate.Vod

InfoPathIn applies the In predicate on the "info_path" field.

func InfoPathIsNil

func InfoPathIsNil() predicate.Vod

InfoPathIsNil applies the IsNil predicate on the "info_path" field.

func InfoPathLT

func InfoPathLT(v string) predicate.Vod

InfoPathLT applies the LT predicate on the "info_path" field.

func InfoPathLTE

func InfoPathLTE(v string) predicate.Vod

InfoPathLTE applies the LTE predicate on the "info_path" field.

func InfoPathNEQ

func InfoPathNEQ(v string) predicate.Vod

InfoPathNEQ applies the NEQ predicate on the "info_path" field.

func InfoPathNotIn

func InfoPathNotIn(vs ...string) predicate.Vod

InfoPathNotIn applies the NotIn predicate on the "info_path" field.

func InfoPathNotNil

func InfoPathNotNil() predicate.Vod

InfoPathNotNil applies the NotNil predicate on the "info_path" field.

func Not

func Not(p predicate.Vod) predicate.Vod

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Vod) predicate.Vod

Or groups predicates with the OR operator between them.

func PlatformEQ

func PlatformEQ(v utils.VodPlatform) predicate.Vod

PlatformEQ applies the EQ predicate on the "platform" field.

func PlatformIn

func PlatformIn(vs ...utils.VodPlatform) predicate.Vod

PlatformIn applies the In predicate on the "platform" field.

func PlatformNEQ

func PlatformNEQ(v utils.VodPlatform) predicate.Vod

PlatformNEQ applies the NEQ predicate on the "platform" field.

func PlatformNotIn

func PlatformNotIn(vs ...utils.VodPlatform) predicate.Vod

PlatformNotIn applies the NotIn predicate on the "platform" field.

func PlatformValidator

func PlatformValidator(pl utils.VodPlatform) error

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

func Processing

func Processing(v bool) predicate.Vod

Processing applies equality check predicate on the "processing" field. It's identical to ProcessingEQ.

func ProcessingEQ

func ProcessingEQ(v bool) predicate.Vod

ProcessingEQ applies the EQ predicate on the "processing" field.

func ProcessingNEQ

func ProcessingNEQ(v bool) predicate.Vod

ProcessingNEQ applies the NEQ predicate on the "processing" field.

func Resolution

func Resolution(v string) predicate.Vod

Resolution applies equality check predicate on the "resolution" field. It's identical to ResolutionEQ.

func ResolutionContains

func ResolutionContains(v string) predicate.Vod

ResolutionContains applies the Contains predicate on the "resolution" field.

func ResolutionContainsFold

func ResolutionContainsFold(v string) predicate.Vod

ResolutionContainsFold applies the ContainsFold predicate on the "resolution" field.

func ResolutionEQ

func ResolutionEQ(v string) predicate.Vod

ResolutionEQ applies the EQ predicate on the "resolution" field.

func ResolutionEqualFold

func ResolutionEqualFold(v string) predicate.Vod

ResolutionEqualFold applies the EqualFold predicate on the "resolution" field.

func ResolutionGT

func ResolutionGT(v string) predicate.Vod

ResolutionGT applies the GT predicate on the "resolution" field.

func ResolutionGTE

func ResolutionGTE(v string) predicate.Vod

ResolutionGTE applies the GTE predicate on the "resolution" field.

func ResolutionHasPrefix

func ResolutionHasPrefix(v string) predicate.Vod

ResolutionHasPrefix applies the HasPrefix predicate on the "resolution" field.

func ResolutionHasSuffix

func ResolutionHasSuffix(v string) predicate.Vod

ResolutionHasSuffix applies the HasSuffix predicate on the "resolution" field.

func ResolutionIn

func ResolutionIn(vs ...string) predicate.Vod

ResolutionIn applies the In predicate on the "resolution" field.

func ResolutionIsNil

func ResolutionIsNil() predicate.Vod

ResolutionIsNil applies the IsNil predicate on the "resolution" field.

func ResolutionLT

func ResolutionLT(v string) predicate.Vod

ResolutionLT applies the LT predicate on the "resolution" field.

func ResolutionLTE

func ResolutionLTE(v string) predicate.Vod

ResolutionLTE applies the LTE predicate on the "resolution" field.

func ResolutionNEQ

func ResolutionNEQ(v string) predicate.Vod

ResolutionNEQ applies the NEQ predicate on the "resolution" field.

func ResolutionNotIn

func ResolutionNotIn(vs ...string) predicate.Vod

ResolutionNotIn applies the NotIn predicate on the "resolution" field.

func ResolutionNotNil

func ResolutionNotNil() predicate.Vod

ResolutionNotNil applies the NotNil predicate on the "resolution" field.

func StreamedAt

func StreamedAt(v time.Time) predicate.Vod

StreamedAt applies equality check predicate on the "streamed_at" field. It's identical to StreamedAtEQ.

func StreamedAtEQ

func StreamedAtEQ(v time.Time) predicate.Vod

StreamedAtEQ applies the EQ predicate on the "streamed_at" field.

func StreamedAtGT

func StreamedAtGT(v time.Time) predicate.Vod

StreamedAtGT applies the GT predicate on the "streamed_at" field.

func StreamedAtGTE

func StreamedAtGTE(v time.Time) predicate.Vod

StreamedAtGTE applies the GTE predicate on the "streamed_at" field.

func StreamedAtIn

func StreamedAtIn(vs ...time.Time) predicate.Vod

StreamedAtIn applies the In predicate on the "streamed_at" field.

func StreamedAtLT

func StreamedAtLT(v time.Time) predicate.Vod

StreamedAtLT applies the LT predicate on the "streamed_at" field.

func StreamedAtLTE

func StreamedAtLTE(v time.Time) predicate.Vod

StreamedAtLTE applies the LTE predicate on the "streamed_at" field.

func StreamedAtNEQ

func StreamedAtNEQ(v time.Time) predicate.Vod

StreamedAtNEQ applies the NEQ predicate on the "streamed_at" field.

func StreamedAtNotIn

func StreamedAtNotIn(vs ...time.Time) predicate.Vod

StreamedAtNotIn applies the NotIn predicate on the "streamed_at" field.

func ThumbnailPath

func ThumbnailPath(v string) predicate.Vod

ThumbnailPath applies equality check predicate on the "thumbnail_path" field. It's identical to ThumbnailPathEQ.

func ThumbnailPathContains

func ThumbnailPathContains(v string) predicate.Vod

ThumbnailPathContains applies the Contains predicate on the "thumbnail_path" field.

func ThumbnailPathContainsFold

func ThumbnailPathContainsFold(v string) predicate.Vod

ThumbnailPathContainsFold applies the ContainsFold predicate on the "thumbnail_path" field.

func ThumbnailPathEQ

func ThumbnailPathEQ(v string) predicate.Vod

ThumbnailPathEQ applies the EQ predicate on the "thumbnail_path" field.

func ThumbnailPathEqualFold

func ThumbnailPathEqualFold(v string) predicate.Vod

ThumbnailPathEqualFold applies the EqualFold predicate on the "thumbnail_path" field.

func ThumbnailPathGT

func ThumbnailPathGT(v string) predicate.Vod

ThumbnailPathGT applies the GT predicate on the "thumbnail_path" field.

func ThumbnailPathGTE

func ThumbnailPathGTE(v string) predicate.Vod

ThumbnailPathGTE applies the GTE predicate on the "thumbnail_path" field.

func ThumbnailPathHasPrefix

func ThumbnailPathHasPrefix(v string) predicate.Vod

ThumbnailPathHasPrefix applies the HasPrefix predicate on the "thumbnail_path" field.

func ThumbnailPathHasSuffix

func ThumbnailPathHasSuffix(v string) predicate.Vod

ThumbnailPathHasSuffix applies the HasSuffix predicate on the "thumbnail_path" field.

func ThumbnailPathIn

func ThumbnailPathIn(vs ...string) predicate.Vod

ThumbnailPathIn applies the In predicate on the "thumbnail_path" field.

func ThumbnailPathIsNil

func ThumbnailPathIsNil() predicate.Vod

ThumbnailPathIsNil applies the IsNil predicate on the "thumbnail_path" field.

func ThumbnailPathLT

func ThumbnailPathLT(v string) predicate.Vod

ThumbnailPathLT applies the LT predicate on the "thumbnail_path" field.

func ThumbnailPathLTE

func ThumbnailPathLTE(v string) predicate.Vod

ThumbnailPathLTE applies the LTE predicate on the "thumbnail_path" field.

func ThumbnailPathNEQ

func ThumbnailPathNEQ(v string) predicate.Vod

ThumbnailPathNEQ applies the NEQ predicate on the "thumbnail_path" field.

func ThumbnailPathNotIn

func ThumbnailPathNotIn(vs ...string) predicate.Vod

ThumbnailPathNotIn applies the NotIn predicate on the "thumbnail_path" field.

func ThumbnailPathNotNil

func ThumbnailPathNotNil() predicate.Vod

ThumbnailPathNotNil applies the NotNil predicate on the "thumbnail_path" field.

func Title

func Title(v string) predicate.Vod

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

func TitleContains

func TitleContains(v string) predicate.Vod

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

func TitleContainsFold

func TitleContainsFold(v string) predicate.Vod

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

func TitleEQ

func TitleEQ(v string) predicate.Vod

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

func TitleEqualFold

func TitleEqualFold(v string) predicate.Vod

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

func TitleGT

func TitleGT(v string) predicate.Vod

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

func TitleGTE

func TitleGTE(v string) predicate.Vod

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

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Vod

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

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Vod

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

func TitleIn

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

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

func TitleLT

func TitleLT(v string) predicate.Vod

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

func TitleLTE

func TitleLTE(v string) predicate.Vod

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

func TitleNEQ

func TitleNEQ(v string) predicate.Vod

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

func TitleNotIn

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

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

func TypeEQ

func TypeEQ(v utils.VodType) predicate.Vod

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

func TypeIn

func TypeIn(vs ...utils.VodType) predicate.Vod

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

func TypeNEQ

func TypeNEQ(v utils.VodType) predicate.Vod

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

func TypeNotIn

func TypeNotIn(vs ...utils.VodType) predicate.Vod

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

func TypeValidator

func TypeValidator(_type utils.VodType) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Vod

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Vod

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Vod

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Vod

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Vod

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Vod

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Vod

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Vod

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Vod

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VideoPath

func VideoPath(v string) predicate.Vod

VideoPath applies equality check predicate on the "video_path" field. It's identical to VideoPathEQ.

func VideoPathContains

func VideoPathContains(v string) predicate.Vod

VideoPathContains applies the Contains predicate on the "video_path" field.

func VideoPathContainsFold

func VideoPathContainsFold(v string) predicate.Vod

VideoPathContainsFold applies the ContainsFold predicate on the "video_path" field.

func VideoPathEQ

func VideoPathEQ(v string) predicate.Vod

VideoPathEQ applies the EQ predicate on the "video_path" field.

func VideoPathEqualFold

func VideoPathEqualFold(v string) predicate.Vod

VideoPathEqualFold applies the EqualFold predicate on the "video_path" field.

func VideoPathGT

func VideoPathGT(v string) predicate.Vod

VideoPathGT applies the GT predicate on the "video_path" field.

func VideoPathGTE

func VideoPathGTE(v string) predicate.Vod

VideoPathGTE applies the GTE predicate on the "video_path" field.

func VideoPathHasPrefix

func VideoPathHasPrefix(v string) predicate.Vod

VideoPathHasPrefix applies the HasPrefix predicate on the "video_path" field.

func VideoPathHasSuffix

func VideoPathHasSuffix(v string) predicate.Vod

VideoPathHasSuffix applies the HasSuffix predicate on the "video_path" field.

func VideoPathIn

func VideoPathIn(vs ...string) predicate.Vod

VideoPathIn applies the In predicate on the "video_path" field.

func VideoPathLT

func VideoPathLT(v string) predicate.Vod

VideoPathLT applies the LT predicate on the "video_path" field.

func VideoPathLTE

func VideoPathLTE(v string) predicate.Vod

VideoPathLTE applies the LTE predicate on the "video_path" field.

func VideoPathNEQ

func VideoPathNEQ(v string) predicate.Vod

VideoPathNEQ applies the NEQ predicate on the "video_path" field.

func VideoPathNotIn

func VideoPathNotIn(vs ...string) predicate.Vod

VideoPathNotIn applies the NotIn predicate on the "video_path" field.

func Views

func Views(v int) predicate.Vod

Views applies equality check predicate on the "views" field. It's identical to ViewsEQ.

func ViewsEQ

func ViewsEQ(v int) predicate.Vod

ViewsEQ applies the EQ predicate on the "views" field.

func ViewsGT

func ViewsGT(v int) predicate.Vod

ViewsGT applies the GT predicate on the "views" field.

func ViewsGTE

func ViewsGTE(v int) predicate.Vod

ViewsGTE applies the GTE predicate on the "views" field.

func ViewsIn

func ViewsIn(vs ...int) predicate.Vod

ViewsIn applies the In predicate on the "views" field.

func ViewsLT

func ViewsLT(v int) predicate.Vod

ViewsLT applies the LT predicate on the "views" field.

func ViewsLTE

func ViewsLTE(v int) predicate.Vod

ViewsLTE applies the LTE predicate on the "views" field.

func ViewsNEQ

func ViewsNEQ(v int) predicate.Vod

ViewsNEQ applies the NEQ predicate on the "views" field.

func ViewsNotIn

func ViewsNotIn(vs ...int) predicate.Vod

ViewsNotIn applies the NotIn predicate on the "views" field.

func WebThumbnailPath

func WebThumbnailPath(v string) predicate.Vod

WebThumbnailPath applies equality check predicate on the "web_thumbnail_path" field. It's identical to WebThumbnailPathEQ.

func WebThumbnailPathContains

func WebThumbnailPathContains(v string) predicate.Vod

WebThumbnailPathContains applies the Contains predicate on the "web_thumbnail_path" field.

func WebThumbnailPathContainsFold

func WebThumbnailPathContainsFold(v string) predicate.Vod

WebThumbnailPathContainsFold applies the ContainsFold predicate on the "web_thumbnail_path" field.

func WebThumbnailPathEQ

func WebThumbnailPathEQ(v string) predicate.Vod

WebThumbnailPathEQ applies the EQ predicate on the "web_thumbnail_path" field.

func WebThumbnailPathEqualFold

func WebThumbnailPathEqualFold(v string) predicate.Vod

WebThumbnailPathEqualFold applies the EqualFold predicate on the "web_thumbnail_path" field.

func WebThumbnailPathGT

func WebThumbnailPathGT(v string) predicate.Vod

WebThumbnailPathGT applies the GT predicate on the "web_thumbnail_path" field.

func WebThumbnailPathGTE

func WebThumbnailPathGTE(v string) predicate.Vod

WebThumbnailPathGTE applies the GTE predicate on the "web_thumbnail_path" field.

func WebThumbnailPathHasPrefix

func WebThumbnailPathHasPrefix(v string) predicate.Vod

WebThumbnailPathHasPrefix applies the HasPrefix predicate on the "web_thumbnail_path" field.

func WebThumbnailPathHasSuffix

func WebThumbnailPathHasSuffix(v string) predicate.Vod

WebThumbnailPathHasSuffix applies the HasSuffix predicate on the "web_thumbnail_path" field.

func WebThumbnailPathIn

func WebThumbnailPathIn(vs ...string) predicate.Vod

WebThumbnailPathIn applies the In predicate on the "web_thumbnail_path" field.

func WebThumbnailPathLT

func WebThumbnailPathLT(v string) predicate.Vod

WebThumbnailPathLT applies the LT predicate on the "web_thumbnail_path" field.

func WebThumbnailPathLTE

func WebThumbnailPathLTE(v string) predicate.Vod

WebThumbnailPathLTE applies the LTE predicate on the "web_thumbnail_path" field.

func WebThumbnailPathNEQ

func WebThumbnailPathNEQ(v string) predicate.Vod

WebThumbnailPathNEQ applies the NEQ predicate on the "web_thumbnail_path" field.

func WebThumbnailPathNotIn

func WebThumbnailPathNotIn(vs ...string) predicate.Vod

WebThumbnailPathNotIn applies the NotIn predicate on the "web_thumbnail_path" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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