queue

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the queue type in the database.
	Label = "queue"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldLiveArchive holds the string denoting the live_archive field in the database.
	FieldLiveArchive = "live_archive"
	// FieldOnHold holds the string denoting the on_hold field in the database.
	FieldOnHold = "on_hold"
	// FieldVideoProcessing holds the string denoting the video_processing field in the database.
	FieldVideoProcessing = "video_processing"
	// FieldChatProcessing holds the string denoting the chat_processing field in the database.
	FieldChatProcessing = "chat_processing"
	// FieldProcessing holds the string denoting the processing field in the database.
	FieldProcessing = "processing"
	// FieldTaskVodCreateFolder holds the string denoting the task_vod_create_folder field in the database.
	FieldTaskVodCreateFolder = "task_vod_create_folder"
	// FieldTaskVodDownloadThumbnail holds the string denoting the task_vod_download_thumbnail field in the database.
	FieldTaskVodDownloadThumbnail = "task_vod_download_thumbnail"
	// FieldTaskVodSaveInfo holds the string denoting the task_vod_save_info field in the database.
	FieldTaskVodSaveInfo = "task_vod_save_info"
	// FieldTaskVideoDownload holds the string denoting the task_video_download field in the database.
	FieldTaskVideoDownload = "task_video_download"
	// FieldTaskVideoConvert holds the string denoting the task_video_convert field in the database.
	FieldTaskVideoConvert = "task_video_convert"
	// FieldTaskVideoMove holds the string denoting the task_video_move field in the database.
	FieldTaskVideoMove = "task_video_move"
	// FieldTaskChatDownload holds the string denoting the task_chat_download field in the database.
	FieldTaskChatDownload = "task_chat_download"
	// FieldTaskChatConvert holds the string denoting the task_chat_convert field in the database.
	FieldTaskChatConvert = "task_chat_convert"
	// FieldTaskChatRender holds the string denoting the task_chat_render field in the database.
	FieldTaskChatRender = "task_chat_render"
	// FieldTaskChatMove holds the string denoting the task_chat_move field in the database.
	FieldTaskChatMove = "task_chat_move"
	// FieldChatStart holds the string denoting the chat_start field in the database.
	FieldChatStart = "chat_start"
	// FieldRenderChat holds the string denoting the render_chat field in the database.
	FieldRenderChat = "render_chat"
	// 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"
	// EdgeVod holds the string denoting the vod edge name in mutations.
	EdgeVod = "vod"
	// Table holds the table name of the queue in the database.
	Table = "queues"
	// VodTable is the table that holds the vod relation/edge.
	VodTable = "queues"
	// VodInverseTable is the table name for the Vod entity.
	// It exists in this package in order to avoid circular dependency with the "vod" package.
	VodInverseTable = "vods"
	// VodColumn is the table column denoting the vod relation/edge.
	VodColumn = "vod_queue"
)
View Source
const DefaultTaskChatConvert utils.TaskStatus = "pending"
View Source
const DefaultTaskChatDownload utils.TaskStatus = "pending"
View Source
const DefaultTaskChatMove utils.TaskStatus = "pending"
View Source
const DefaultTaskChatRender utils.TaskStatus = "pending"
View Source
const DefaultTaskVideoConvert utils.TaskStatus = "pending"
View Source
const DefaultTaskVideoDownload utils.TaskStatus = "pending"
View Source
const DefaultTaskVideoMove utils.TaskStatus = "pending"
View Source
const DefaultTaskVodCreateFolder utils.TaskStatus = "pending"
View Source
const DefaultTaskVodDownloadThumbnail utils.TaskStatus = "pending"
View Source
const DefaultTaskVodSaveInfo utils.TaskStatus = "pending"

Variables

View Source
var (
	// DefaultLiveArchive holds the default value on creation for the "live_archive" field.
	DefaultLiveArchive bool
	// DefaultOnHold holds the default value on creation for the "on_hold" field.
	DefaultOnHold bool
	// DefaultVideoProcessing holds the default value on creation for the "video_processing" field.
	DefaultVideoProcessing bool
	// DefaultChatProcessing holds the default value on creation for the "chat_processing" field.
	DefaultChatProcessing bool
	// DefaultProcessing holds the default value on creation for the "processing" field.
	DefaultProcessing bool
	// DefaultRenderChat holds the default value on creation for the "render_chat" field.
	DefaultRenderChat bool
	// 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 queue fields.

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

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

Functions

func And

func And(predicates ...predicate.Queue) predicate.Queue

And groups predicates with the AND operator between them.

func ChatProcessing

func ChatProcessing(v bool) predicate.Queue

ChatProcessing applies equality check predicate on the "chat_processing" field. It's identical to ChatProcessingEQ.

func ChatProcessingEQ

func ChatProcessingEQ(v bool) predicate.Queue

ChatProcessingEQ applies the EQ predicate on the "chat_processing" field.

func ChatProcessingNEQ

func ChatProcessingNEQ(v bool) predicate.Queue

ChatProcessingNEQ applies the NEQ predicate on the "chat_processing" field.

func ChatStart

func ChatStart(v time.Time) predicate.Queue

ChatStart applies equality check predicate on the "chat_start" field. It's identical to ChatStartEQ.

func ChatStartEQ

func ChatStartEQ(v time.Time) predicate.Queue

ChatStartEQ applies the EQ predicate on the "chat_start" field.

func ChatStartGT

func ChatStartGT(v time.Time) predicate.Queue

ChatStartGT applies the GT predicate on the "chat_start" field.

func ChatStartGTE

func ChatStartGTE(v time.Time) predicate.Queue

ChatStartGTE applies the GTE predicate on the "chat_start" field.

func ChatStartIn

func ChatStartIn(vs ...time.Time) predicate.Queue

ChatStartIn applies the In predicate on the "chat_start" field.

func ChatStartIsNil

func ChatStartIsNil() predicate.Queue

ChatStartIsNil applies the IsNil predicate on the "chat_start" field.

func ChatStartLT

func ChatStartLT(v time.Time) predicate.Queue

ChatStartLT applies the LT predicate on the "chat_start" field.

func ChatStartLTE

func ChatStartLTE(v time.Time) predicate.Queue

ChatStartLTE applies the LTE predicate on the "chat_start" field.

func ChatStartNEQ

func ChatStartNEQ(v time.Time) predicate.Queue

ChatStartNEQ applies the NEQ predicate on the "chat_start" field.

func ChatStartNotIn

func ChatStartNotIn(vs ...time.Time) predicate.Queue

ChatStartNotIn applies the NotIn predicate on the "chat_start" field.

func ChatStartNotNil

func ChatStartNotNil() predicate.Queue

ChatStartNotNil applies the NotNil predicate on the "chat_start" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Queue

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Queue

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Queue

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Queue

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Queue

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Queue

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Queue

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

func CreatedAtNotIn

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

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

func HasVod

func HasVod() predicate.Queue

HasVod applies the HasEdge predicate on the "vod" edge.

func HasVodWith

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

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

func ID

func ID(id uuid.UUID) predicate.Queue

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Queue

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Queue

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Queue

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Queue

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Queue

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Queue

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LiveArchive

func LiveArchive(v bool) predicate.Queue

LiveArchive applies equality check predicate on the "live_archive" field. It's identical to LiveArchiveEQ.

func LiveArchiveEQ

func LiveArchiveEQ(v bool) predicate.Queue

LiveArchiveEQ applies the EQ predicate on the "live_archive" field.

func LiveArchiveNEQ

func LiveArchiveNEQ(v bool) predicate.Queue

LiveArchiveNEQ applies the NEQ predicate on the "live_archive" field.

func Not

Not applies the not operator on the given predicate.

func OnHold

func OnHold(v bool) predicate.Queue

OnHold applies equality check predicate on the "on_hold" field. It's identical to OnHoldEQ.

func OnHoldEQ

func OnHoldEQ(v bool) predicate.Queue

OnHoldEQ applies the EQ predicate on the "on_hold" field.

func OnHoldNEQ

func OnHoldNEQ(v bool) predicate.Queue

OnHoldNEQ applies the NEQ predicate on the "on_hold" field.

func Or

func Or(predicates ...predicate.Queue) predicate.Queue

Or groups predicates with the OR operator between them.

func Processing

func Processing(v bool) predicate.Queue

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

func ProcessingEQ

func ProcessingEQ(v bool) predicate.Queue

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

func ProcessingNEQ

func ProcessingNEQ(v bool) predicate.Queue

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

func RenderChat added in v1.1.7

func RenderChat(v bool) predicate.Queue

RenderChat applies equality check predicate on the "render_chat" field. It's identical to RenderChatEQ.

func RenderChatEQ added in v1.1.7

func RenderChatEQ(v bool) predicate.Queue

RenderChatEQ applies the EQ predicate on the "render_chat" field.

func RenderChatIsNil added in v1.1.7

func RenderChatIsNil() predicate.Queue

RenderChatIsNil applies the IsNil predicate on the "render_chat" field.

func RenderChatNEQ added in v1.1.7

func RenderChatNEQ(v bool) predicate.Queue

RenderChatNEQ applies the NEQ predicate on the "render_chat" field.

func RenderChatNotNil added in v1.1.7

func RenderChatNotNil() predicate.Queue

RenderChatNotNil applies the NotNil predicate on the "render_chat" field.

func TaskChatConvertEQ

func TaskChatConvertEQ(v utils.TaskStatus) predicate.Queue

TaskChatConvertEQ applies the EQ predicate on the "task_chat_convert" field.

func TaskChatConvertIn

func TaskChatConvertIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatConvertIn applies the In predicate on the "task_chat_convert" field.

func TaskChatConvertIsNil

func TaskChatConvertIsNil() predicate.Queue

TaskChatConvertIsNil applies the IsNil predicate on the "task_chat_convert" field.

func TaskChatConvertNEQ

func TaskChatConvertNEQ(v utils.TaskStatus) predicate.Queue

TaskChatConvertNEQ applies the NEQ predicate on the "task_chat_convert" field.

func TaskChatConvertNotIn

func TaskChatConvertNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatConvertNotIn applies the NotIn predicate on the "task_chat_convert" field.

func TaskChatConvertNotNil

func TaskChatConvertNotNil() predicate.Queue

TaskChatConvertNotNil applies the NotNil predicate on the "task_chat_convert" field.

func TaskChatConvertValidator

func TaskChatConvertValidator(tcc utils.TaskStatus) error

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

func TaskChatDownloadEQ

func TaskChatDownloadEQ(v utils.TaskStatus) predicate.Queue

TaskChatDownloadEQ applies the EQ predicate on the "task_chat_download" field.

func TaskChatDownloadIn

func TaskChatDownloadIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatDownloadIn applies the In predicate on the "task_chat_download" field.

func TaskChatDownloadIsNil

func TaskChatDownloadIsNil() predicate.Queue

TaskChatDownloadIsNil applies the IsNil predicate on the "task_chat_download" field.

func TaskChatDownloadNEQ

func TaskChatDownloadNEQ(v utils.TaskStatus) predicate.Queue

TaskChatDownloadNEQ applies the NEQ predicate on the "task_chat_download" field.

func TaskChatDownloadNotIn

func TaskChatDownloadNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatDownloadNotIn applies the NotIn predicate on the "task_chat_download" field.

func TaskChatDownloadNotNil

func TaskChatDownloadNotNil() predicate.Queue

TaskChatDownloadNotNil applies the NotNil predicate on the "task_chat_download" field.

func TaskChatDownloadValidator

func TaskChatDownloadValidator(tcd utils.TaskStatus) error

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

func TaskChatMoveEQ

func TaskChatMoveEQ(v utils.TaskStatus) predicate.Queue

TaskChatMoveEQ applies the EQ predicate on the "task_chat_move" field.

func TaskChatMoveIn

func TaskChatMoveIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatMoveIn applies the In predicate on the "task_chat_move" field.

func TaskChatMoveIsNil

func TaskChatMoveIsNil() predicate.Queue

TaskChatMoveIsNil applies the IsNil predicate on the "task_chat_move" field.

func TaskChatMoveNEQ

func TaskChatMoveNEQ(v utils.TaskStatus) predicate.Queue

TaskChatMoveNEQ applies the NEQ predicate on the "task_chat_move" field.

func TaskChatMoveNotIn

func TaskChatMoveNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatMoveNotIn applies the NotIn predicate on the "task_chat_move" field.

func TaskChatMoveNotNil

func TaskChatMoveNotNil() predicate.Queue

TaskChatMoveNotNil applies the NotNil predicate on the "task_chat_move" field.

func TaskChatMoveValidator

func TaskChatMoveValidator(tcm utils.TaskStatus) error

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

func TaskChatRenderEQ

func TaskChatRenderEQ(v utils.TaskStatus) predicate.Queue

TaskChatRenderEQ applies the EQ predicate on the "task_chat_render" field.

func TaskChatRenderIn

func TaskChatRenderIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatRenderIn applies the In predicate on the "task_chat_render" field.

func TaskChatRenderIsNil

func TaskChatRenderIsNil() predicate.Queue

TaskChatRenderIsNil applies the IsNil predicate on the "task_chat_render" field.

func TaskChatRenderNEQ

func TaskChatRenderNEQ(v utils.TaskStatus) predicate.Queue

TaskChatRenderNEQ applies the NEQ predicate on the "task_chat_render" field.

func TaskChatRenderNotIn

func TaskChatRenderNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskChatRenderNotIn applies the NotIn predicate on the "task_chat_render" field.

func TaskChatRenderNotNil

func TaskChatRenderNotNil() predicate.Queue

TaskChatRenderNotNil applies the NotNil predicate on the "task_chat_render" field.

func TaskChatRenderValidator

func TaskChatRenderValidator(tcr utils.TaskStatus) error

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

func TaskVideoConvertEQ

func TaskVideoConvertEQ(v utils.TaskStatus) predicate.Queue

TaskVideoConvertEQ applies the EQ predicate on the "task_video_convert" field.

func TaskVideoConvertIn

func TaskVideoConvertIn(vs ...utils.TaskStatus) predicate.Queue

TaskVideoConvertIn applies the In predicate on the "task_video_convert" field.

func TaskVideoConvertIsNil

func TaskVideoConvertIsNil() predicate.Queue

TaskVideoConvertIsNil applies the IsNil predicate on the "task_video_convert" field.

func TaskVideoConvertNEQ

func TaskVideoConvertNEQ(v utils.TaskStatus) predicate.Queue

TaskVideoConvertNEQ applies the NEQ predicate on the "task_video_convert" field.

func TaskVideoConvertNotIn

func TaskVideoConvertNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskVideoConvertNotIn applies the NotIn predicate on the "task_video_convert" field.

func TaskVideoConvertNotNil

func TaskVideoConvertNotNil() predicate.Queue

TaskVideoConvertNotNil applies the NotNil predicate on the "task_video_convert" field.

func TaskVideoConvertValidator

func TaskVideoConvertValidator(tvc utils.TaskStatus) error

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

func TaskVideoDownloadEQ

func TaskVideoDownloadEQ(v utils.TaskStatus) predicate.Queue

TaskVideoDownloadEQ applies the EQ predicate on the "task_video_download" field.

func TaskVideoDownloadIn

func TaskVideoDownloadIn(vs ...utils.TaskStatus) predicate.Queue

TaskVideoDownloadIn applies the In predicate on the "task_video_download" field.

func TaskVideoDownloadIsNil

func TaskVideoDownloadIsNil() predicate.Queue

TaskVideoDownloadIsNil applies the IsNil predicate on the "task_video_download" field.

func TaskVideoDownloadNEQ

func TaskVideoDownloadNEQ(v utils.TaskStatus) predicate.Queue

TaskVideoDownloadNEQ applies the NEQ predicate on the "task_video_download" field.

func TaskVideoDownloadNotIn

func TaskVideoDownloadNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskVideoDownloadNotIn applies the NotIn predicate on the "task_video_download" field.

func TaskVideoDownloadNotNil

func TaskVideoDownloadNotNil() predicate.Queue

TaskVideoDownloadNotNil applies the NotNil predicate on the "task_video_download" field.

func TaskVideoDownloadValidator

func TaskVideoDownloadValidator(tvd utils.TaskStatus) error

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

func TaskVideoMoveEQ

func TaskVideoMoveEQ(v utils.TaskStatus) predicate.Queue

TaskVideoMoveEQ applies the EQ predicate on the "task_video_move" field.

func TaskVideoMoveIn

func TaskVideoMoveIn(vs ...utils.TaskStatus) predicate.Queue

TaskVideoMoveIn applies the In predicate on the "task_video_move" field.

func TaskVideoMoveIsNil

func TaskVideoMoveIsNil() predicate.Queue

TaskVideoMoveIsNil applies the IsNil predicate on the "task_video_move" field.

func TaskVideoMoveNEQ

func TaskVideoMoveNEQ(v utils.TaskStatus) predicate.Queue

TaskVideoMoveNEQ applies the NEQ predicate on the "task_video_move" field.

func TaskVideoMoveNotIn

func TaskVideoMoveNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskVideoMoveNotIn applies the NotIn predicate on the "task_video_move" field.

func TaskVideoMoveNotNil

func TaskVideoMoveNotNil() predicate.Queue

TaskVideoMoveNotNil applies the NotNil predicate on the "task_video_move" field.

func TaskVideoMoveValidator

func TaskVideoMoveValidator(tvm utils.TaskStatus) error

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

func TaskVodCreateFolderEQ

func TaskVodCreateFolderEQ(v utils.TaskStatus) predicate.Queue

TaskVodCreateFolderEQ applies the EQ predicate on the "task_vod_create_folder" field.

func TaskVodCreateFolderIn

func TaskVodCreateFolderIn(vs ...utils.TaskStatus) predicate.Queue

TaskVodCreateFolderIn applies the In predicate on the "task_vod_create_folder" field.

func TaskVodCreateFolderIsNil

func TaskVodCreateFolderIsNil() predicate.Queue

TaskVodCreateFolderIsNil applies the IsNil predicate on the "task_vod_create_folder" field.

func TaskVodCreateFolderNEQ

func TaskVodCreateFolderNEQ(v utils.TaskStatus) predicate.Queue

TaskVodCreateFolderNEQ applies the NEQ predicate on the "task_vod_create_folder" field.

func TaskVodCreateFolderNotIn

func TaskVodCreateFolderNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskVodCreateFolderNotIn applies the NotIn predicate on the "task_vod_create_folder" field.

func TaskVodCreateFolderNotNil

func TaskVodCreateFolderNotNil() predicate.Queue

TaskVodCreateFolderNotNil applies the NotNil predicate on the "task_vod_create_folder" field.

func TaskVodCreateFolderValidator

func TaskVodCreateFolderValidator(tvcf utils.TaskStatus) error

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

func TaskVodDownloadThumbnailEQ

func TaskVodDownloadThumbnailEQ(v utils.TaskStatus) predicate.Queue

TaskVodDownloadThumbnailEQ applies the EQ predicate on the "task_vod_download_thumbnail" field.

func TaskVodDownloadThumbnailIn

func TaskVodDownloadThumbnailIn(vs ...utils.TaskStatus) predicate.Queue

TaskVodDownloadThumbnailIn applies the In predicate on the "task_vod_download_thumbnail" field.

func TaskVodDownloadThumbnailIsNil

func TaskVodDownloadThumbnailIsNil() predicate.Queue

TaskVodDownloadThumbnailIsNil applies the IsNil predicate on the "task_vod_download_thumbnail" field.

func TaskVodDownloadThumbnailNEQ

func TaskVodDownloadThumbnailNEQ(v utils.TaskStatus) predicate.Queue

TaskVodDownloadThumbnailNEQ applies the NEQ predicate on the "task_vod_download_thumbnail" field.

func TaskVodDownloadThumbnailNotIn

func TaskVodDownloadThumbnailNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskVodDownloadThumbnailNotIn applies the NotIn predicate on the "task_vod_download_thumbnail" field.

func TaskVodDownloadThumbnailNotNil

func TaskVodDownloadThumbnailNotNil() predicate.Queue

TaskVodDownloadThumbnailNotNil applies the NotNil predicate on the "task_vod_download_thumbnail" field.

func TaskVodDownloadThumbnailValidator

func TaskVodDownloadThumbnailValidator(tvdt utils.TaskStatus) error

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

func TaskVodSaveInfoEQ

func TaskVodSaveInfoEQ(v utils.TaskStatus) predicate.Queue

TaskVodSaveInfoEQ applies the EQ predicate on the "task_vod_save_info" field.

func TaskVodSaveInfoIn

func TaskVodSaveInfoIn(vs ...utils.TaskStatus) predicate.Queue

TaskVodSaveInfoIn applies the In predicate on the "task_vod_save_info" field.

func TaskVodSaveInfoIsNil

func TaskVodSaveInfoIsNil() predicate.Queue

TaskVodSaveInfoIsNil applies the IsNil predicate on the "task_vod_save_info" field.

func TaskVodSaveInfoNEQ

func TaskVodSaveInfoNEQ(v utils.TaskStatus) predicate.Queue

TaskVodSaveInfoNEQ applies the NEQ predicate on the "task_vod_save_info" field.

func TaskVodSaveInfoNotIn

func TaskVodSaveInfoNotIn(vs ...utils.TaskStatus) predicate.Queue

TaskVodSaveInfoNotIn applies the NotIn predicate on the "task_vod_save_info" field.

func TaskVodSaveInfoNotNil

func TaskVodSaveInfoNotNil() predicate.Queue

TaskVodSaveInfoNotNil applies the NotNil predicate on the "task_vod_save_info" field.

func TaskVodSaveInfoValidator

func TaskVodSaveInfoValidator(tvsi utils.TaskStatus) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Queue

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Queue

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Queue

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Queue

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Queue

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Queue

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Queue

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

func UpdatedAtNotIn

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

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 VideoProcessing

func VideoProcessing(v bool) predicate.Queue

VideoProcessing applies equality check predicate on the "video_processing" field. It's identical to VideoProcessingEQ.

func VideoProcessingEQ

func VideoProcessingEQ(v bool) predicate.Queue

VideoProcessingEQ applies the EQ predicate on the "video_processing" field.

func VideoProcessingNEQ

func VideoProcessingNEQ(v bool) predicate.Queue

VideoProcessingNEQ applies the NEQ predicate on the "video_processing" field.

Types

type OrderOption added in v1.2.12

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Queue queries.

func ByChatProcessing added in v1.2.12

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

ByChatProcessing orders the results by the chat_processing field.

func ByChatStart added in v1.2.12

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

ByChatStart orders the results by the chat_start field.

func ByCreatedAt added in v1.2.12

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

ByCreatedAt orders the results by the created_at field.

func ByID added in v1.2.12

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

ByID orders the results by the id field.

func ByLiveArchive added in v1.2.12

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

ByLiveArchive orders the results by the live_archive field.

func ByOnHold added in v1.2.12

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

ByOnHold orders the results by the on_hold field.

func ByProcessing added in v1.2.12

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

ByProcessing orders the results by the processing field.

func ByRenderChat added in v1.2.12

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

ByRenderChat orders the results by the render_chat field.

func ByTaskChatConvert added in v1.2.12

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

ByTaskChatConvert orders the results by the task_chat_convert field.

func ByTaskChatDownload added in v1.2.12

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

ByTaskChatDownload orders the results by the task_chat_download field.

func ByTaskChatMove added in v1.2.12

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

ByTaskChatMove orders the results by the task_chat_move field.

func ByTaskChatRender added in v1.2.12

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

ByTaskChatRender orders the results by the task_chat_render field.

func ByTaskVideoConvert added in v1.2.12

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

ByTaskVideoConvert orders the results by the task_video_convert field.

func ByTaskVideoDownload added in v1.2.12

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

ByTaskVideoDownload orders the results by the task_video_download field.

func ByTaskVideoMove added in v1.2.12

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

ByTaskVideoMove orders the results by the task_video_move field.

func ByTaskVodCreateFolder added in v1.2.12

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

ByTaskVodCreateFolder orders the results by the task_vod_create_folder field.

func ByTaskVodDownloadThumbnail added in v1.2.12

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

ByTaskVodDownloadThumbnail orders the results by the task_vod_download_thumbnail field.

func ByTaskVodSaveInfo added in v1.2.12

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

ByTaskVodSaveInfo orders the results by the task_vod_save_info field.

func ByUpdatedAt added in v1.2.12

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

ByUpdatedAt orders the results by the updated_at field.

func ByVideoProcessing added in v1.2.12

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

ByVideoProcessing orders the results by the video_processing field.

func ByVodField added in v1.2.12

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

ByVodField orders the results by vod field.

Jump to

Keyboard shortcuts

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