vod

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 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"
	// FieldCaptionPath holds the string denoting the caption_path field in the database.
	FieldCaptionPath = "caption_path"
	// FieldFolderName holds the string denoting the folder_name field in the database.
	FieldFolderName = "folder_name"
	// FieldFileName holds the string denoting the file_name field in the database.
	FieldFileName = "file_name"
	// FieldLocked holds the string denoting the locked field in the database.
	FieldLocked = "locked"
	// 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
	// DefaultLocked holds the default value on creation for the "locked" field.
	DefaultLocked 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 CaptionPath added in v1.1.9

func CaptionPath(v string) predicate.Vod

CaptionPath applies equality check predicate on the "caption_path" field. It's identical to CaptionPathEQ.

func CaptionPathContains added in v1.1.9

func CaptionPathContains(v string) predicate.Vod

CaptionPathContains applies the Contains predicate on the "caption_path" field.

func CaptionPathContainsFold added in v1.1.9

func CaptionPathContainsFold(v string) predicate.Vod

CaptionPathContainsFold applies the ContainsFold predicate on the "caption_path" field.

func CaptionPathEQ added in v1.1.9

func CaptionPathEQ(v string) predicate.Vod

CaptionPathEQ applies the EQ predicate on the "caption_path" field.

func CaptionPathEqualFold added in v1.1.9

func CaptionPathEqualFold(v string) predicate.Vod

CaptionPathEqualFold applies the EqualFold predicate on the "caption_path" field.

func CaptionPathGT added in v1.1.9

func CaptionPathGT(v string) predicate.Vod

CaptionPathGT applies the GT predicate on the "caption_path" field.

func CaptionPathGTE added in v1.1.9

func CaptionPathGTE(v string) predicate.Vod

CaptionPathGTE applies the GTE predicate on the "caption_path" field.

func CaptionPathHasPrefix added in v1.1.9

func CaptionPathHasPrefix(v string) predicate.Vod

CaptionPathHasPrefix applies the HasPrefix predicate on the "caption_path" field.

func CaptionPathHasSuffix added in v1.1.9

func CaptionPathHasSuffix(v string) predicate.Vod

CaptionPathHasSuffix applies the HasSuffix predicate on the "caption_path" field.

func CaptionPathIn added in v1.1.9

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

CaptionPathIn applies the In predicate on the "caption_path" field.

func CaptionPathIsNil added in v1.1.9

func CaptionPathIsNil() predicate.Vod

CaptionPathIsNil applies the IsNil predicate on the "caption_path" field.

func CaptionPathLT added in v1.1.9

func CaptionPathLT(v string) predicate.Vod

CaptionPathLT applies the LT predicate on the "caption_path" field.

func CaptionPathLTE added in v1.1.9

func CaptionPathLTE(v string) predicate.Vod

CaptionPathLTE applies the LTE predicate on the "caption_path" field.

func CaptionPathNEQ added in v1.1.9

func CaptionPathNEQ(v string) predicate.Vod

CaptionPathNEQ applies the NEQ predicate on the "caption_path" field.

func CaptionPathNotIn added in v1.1.9

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

CaptionPathNotIn applies the NotIn predicate on the "caption_path" field.

func CaptionPathNotNil added in v1.1.9

func CaptionPathNotNil() predicate.Vod

CaptionPathNotNil applies the NotNil predicate on the "caption_path" field.

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 FileName added in v1.1.7

func FileName(v string) predicate.Vod

FileName applies equality check predicate on the "file_name" field. It's identical to FileNameEQ.

func FileNameContains added in v1.1.7

func FileNameContains(v string) predicate.Vod

FileNameContains applies the Contains predicate on the "file_name" field.

func FileNameContainsFold added in v1.1.7

func FileNameContainsFold(v string) predicate.Vod

FileNameContainsFold applies the ContainsFold predicate on the "file_name" field.

func FileNameEQ added in v1.1.7

func FileNameEQ(v string) predicate.Vod

FileNameEQ applies the EQ predicate on the "file_name" field.

func FileNameEqualFold added in v1.1.7

func FileNameEqualFold(v string) predicate.Vod

FileNameEqualFold applies the EqualFold predicate on the "file_name" field.

func FileNameGT added in v1.1.7

func FileNameGT(v string) predicate.Vod

FileNameGT applies the GT predicate on the "file_name" field.

func FileNameGTE added in v1.1.7

func FileNameGTE(v string) predicate.Vod

FileNameGTE applies the GTE predicate on the "file_name" field.

func FileNameHasPrefix added in v1.1.7

func FileNameHasPrefix(v string) predicate.Vod

FileNameHasPrefix applies the HasPrefix predicate on the "file_name" field.

func FileNameHasSuffix added in v1.1.7

func FileNameHasSuffix(v string) predicate.Vod

FileNameHasSuffix applies the HasSuffix predicate on the "file_name" field.

func FileNameIn added in v1.1.7

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

FileNameIn applies the In predicate on the "file_name" field.

func FileNameIsNil added in v1.1.7

func FileNameIsNil() predicate.Vod

FileNameIsNil applies the IsNil predicate on the "file_name" field.

func FileNameLT added in v1.1.7

func FileNameLT(v string) predicate.Vod

FileNameLT applies the LT predicate on the "file_name" field.

func FileNameLTE added in v1.1.7

func FileNameLTE(v string) predicate.Vod

FileNameLTE applies the LTE predicate on the "file_name" field.

func FileNameNEQ added in v1.1.7

func FileNameNEQ(v string) predicate.Vod

FileNameNEQ applies the NEQ predicate on the "file_name" field.

func FileNameNotIn added in v1.1.7

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

FileNameNotIn applies the NotIn predicate on the "file_name" field.

func FileNameNotNil added in v1.1.7

func FileNameNotNil() predicate.Vod

FileNameNotNil applies the NotNil predicate on the "file_name" field.

func FolderName added in v1.1.7

func FolderName(v string) predicate.Vod

FolderName applies equality check predicate on the "folder_name" field. It's identical to FolderNameEQ.

func FolderNameContains added in v1.1.7

func FolderNameContains(v string) predicate.Vod

FolderNameContains applies the Contains predicate on the "folder_name" field.

func FolderNameContainsFold added in v1.1.7

func FolderNameContainsFold(v string) predicate.Vod

FolderNameContainsFold applies the ContainsFold predicate on the "folder_name" field.

func FolderNameEQ added in v1.1.7

func FolderNameEQ(v string) predicate.Vod

FolderNameEQ applies the EQ predicate on the "folder_name" field.

func FolderNameEqualFold added in v1.1.7

func FolderNameEqualFold(v string) predicate.Vod

FolderNameEqualFold applies the EqualFold predicate on the "folder_name" field.

func FolderNameGT added in v1.1.7

func FolderNameGT(v string) predicate.Vod

FolderNameGT applies the GT predicate on the "folder_name" field.

func FolderNameGTE added in v1.1.7

func FolderNameGTE(v string) predicate.Vod

FolderNameGTE applies the GTE predicate on the "folder_name" field.

func FolderNameHasPrefix added in v1.1.7

func FolderNameHasPrefix(v string) predicate.Vod

FolderNameHasPrefix applies the HasPrefix predicate on the "folder_name" field.

func FolderNameHasSuffix added in v1.1.7

func FolderNameHasSuffix(v string) predicate.Vod

FolderNameHasSuffix applies the HasSuffix predicate on the "folder_name" field.

func FolderNameIn added in v1.1.7

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

FolderNameIn applies the In predicate on the "folder_name" field.

func FolderNameIsNil added in v1.1.7

func FolderNameIsNil() predicate.Vod

FolderNameIsNil applies the IsNil predicate on the "folder_name" field.

func FolderNameLT added in v1.1.7

func FolderNameLT(v string) predicate.Vod

FolderNameLT applies the LT predicate on the "folder_name" field.

func FolderNameLTE added in v1.1.7

func FolderNameLTE(v string) predicate.Vod

FolderNameLTE applies the LTE predicate on the "folder_name" field.

func FolderNameNEQ added in v1.1.7

func FolderNameNEQ(v string) predicate.Vod

FolderNameNEQ applies the NEQ predicate on the "folder_name" field.

func FolderNameNotIn added in v1.1.7

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

FolderNameNotIn applies the NotIn predicate on the "folder_name" field.

func FolderNameNotNil added in v1.1.7

func FolderNameNotNil() predicate.Vod

FolderNameNotNil applies the NotNil predicate on the "folder_name" 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 Locked added in v1.2.12

func Locked(v bool) predicate.Vod

Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.

func LockedEQ added in v1.2.12

func LockedEQ(v bool) predicate.Vod

LockedEQ applies the EQ predicate on the "locked" field.

func LockedNEQ added in v1.2.12

func LockedNEQ(v bool) predicate.Vod

LockedNEQ applies the NEQ predicate on the "locked" 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

type OrderOption added in v1.2.12

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Vod queries.

func ByCaptionPath added in v1.2.12

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

ByCaptionPath orders the results by the caption_path field.

func ByChannelField added in v1.2.12

func ByChannelField(field string, opts ...sql.OrderTermOption) OrderOption

ByChannelField orders the results by channel field.

func ByChatPath added in v1.2.12

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

ByChatPath orders the results by the chat_path field.

func ByChatVideoPath added in v1.2.12

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

ByChatVideoPath orders the results by the chat_video_path field.

func ByCreatedAt added in v1.2.12

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

ByCreatedAt orders the results by the created_at field.

func ByDuration added in v1.2.12

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

ByDuration orders the results by the duration field.

func ByExtID added in v1.2.12

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

ByExtID orders the results by the ext_id field.

func ByFileName added in v1.2.12

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

ByFileName orders the results by the file_name field.

func ByFolderName added in v1.2.12

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

ByFolderName orders the results by the folder_name field.

func ByID added in v1.2.12

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

ByID orders the results by the id field.

func ByInfoPath added in v1.2.12

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

ByInfoPath orders the results by the info_path field.

func ByLocked added in v1.2.12

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

ByLocked orders the results by the locked field.

func ByPlatform added in v1.2.12

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

ByPlatform orders the results by the platform field.

func ByPlaylists added in v1.2.12

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

ByPlaylists orders the results by playlists terms.

func ByPlaylistsCount added in v1.2.12

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

ByPlaylistsCount orders the results by playlists count.

func ByProcessing added in v1.2.12

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

ByProcessing orders the results by the processing field.

func ByQueueField added in v1.2.12

func ByQueueField(field string, opts ...sql.OrderTermOption) OrderOption

ByQueueField orders the results by queue field.

func ByResolution added in v1.2.12

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

ByResolution orders the results by the resolution field.

func ByStreamedAt added in v1.2.12

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

ByStreamedAt orders the results by the streamed_at field.

func ByThumbnailPath added in v1.2.12

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

ByThumbnailPath orders the results by the thumbnail_path field.

func ByTitle added in v1.2.12

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

ByTitle orders the results by the title field.

func ByType added in v1.2.12

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

ByType orders the results by the type field.

func ByUpdatedAt added in v1.2.12

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

ByUpdatedAt orders the results by the updated_at field.

func ByVideoPath added in v1.2.12

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

ByVideoPath orders the results by the video_path field.

func ByViews added in v1.2.12

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

ByViews orders the results by the views field.

func ByWebThumbnailPath added in v1.2.12

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

ByWebThumbnailPath orders the results by the web_thumbnail_path field.

Jump to

Keyboard shortcuts

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