Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Queue) predicate.Queue
- func ChatProcessing(v bool) predicate.Queue
- func ChatProcessingEQ(v bool) predicate.Queue
- func ChatProcessingNEQ(v bool) predicate.Queue
- func ChatStart(v time.Time) predicate.Queue
- func ChatStartEQ(v time.Time) predicate.Queue
- func ChatStartGT(v time.Time) predicate.Queue
- func ChatStartGTE(v time.Time) predicate.Queue
- func ChatStartIn(vs ...time.Time) predicate.Queue
- func ChatStartIsNil() predicate.Queue
- func ChatStartLT(v time.Time) predicate.Queue
- func ChatStartLTE(v time.Time) predicate.Queue
- func ChatStartNEQ(v time.Time) predicate.Queue
- func ChatStartNotIn(vs ...time.Time) predicate.Queue
- func ChatStartNotNil() predicate.Queue
- func CreatedAt(v time.Time) predicate.Queue
- func CreatedAtEQ(v time.Time) predicate.Queue
- func CreatedAtGT(v time.Time) predicate.Queue
- func CreatedAtGTE(v time.Time) predicate.Queue
- func CreatedAtIn(vs ...time.Time) predicate.Queue
- func CreatedAtLT(v time.Time) predicate.Queue
- func CreatedAtLTE(v time.Time) predicate.Queue
- func CreatedAtNEQ(v time.Time) predicate.Queue
- func CreatedAtNotIn(vs ...time.Time) predicate.Queue
- func HasVod() predicate.Queue
- func HasVodWith(preds ...predicate.Vod) predicate.Queue
- func ID(id uuid.UUID) predicate.Queue
- func IDEQ(id uuid.UUID) predicate.Queue
- func IDGT(id uuid.UUID) predicate.Queue
- func IDGTE(id uuid.UUID) predicate.Queue
- func IDIn(ids ...uuid.UUID) predicate.Queue
- func IDLT(id uuid.UUID) predicate.Queue
- func IDLTE(id uuid.UUID) predicate.Queue
- func IDNEQ(id uuid.UUID) predicate.Queue
- func IDNotIn(ids ...uuid.UUID) predicate.Queue
- func LiveArchive(v bool) predicate.Queue
- func LiveArchiveEQ(v bool) predicate.Queue
- func LiveArchiveNEQ(v bool) predicate.Queue
- func Not(p predicate.Queue) predicate.Queue
- func OnHold(v bool) predicate.Queue
- func OnHoldEQ(v bool) predicate.Queue
- func OnHoldNEQ(v bool) predicate.Queue
- func Or(predicates ...predicate.Queue) predicate.Queue
- func Processing(v bool) predicate.Queue
- func ProcessingEQ(v bool) predicate.Queue
- func ProcessingNEQ(v bool) predicate.Queue
- func RenderChat(v bool) predicate.Queue
- func RenderChatEQ(v bool) predicate.Queue
- func RenderChatIsNil() predicate.Queue
- func RenderChatNEQ(v bool) predicate.Queue
- func RenderChatNotNil() predicate.Queue
- func TaskChatConvertEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatConvertIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatConvertIsNil() predicate.Queue
- func TaskChatConvertNEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatConvertNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatConvertNotNil() predicate.Queue
- func TaskChatConvertValidator(tcc utils.TaskStatus) error
- func TaskChatDownloadEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatDownloadIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatDownloadIsNil() predicate.Queue
- func TaskChatDownloadNEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatDownloadNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatDownloadNotNil() predicate.Queue
- func TaskChatDownloadValidator(tcd utils.TaskStatus) error
- func TaskChatMoveEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatMoveIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatMoveIsNil() predicate.Queue
- func TaskChatMoveNEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatMoveNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatMoveNotNil() predicate.Queue
- func TaskChatMoveValidator(tcm utils.TaskStatus) error
- func TaskChatRenderEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatRenderIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatRenderIsNil() predicate.Queue
- func TaskChatRenderNEQ(v utils.TaskStatus) predicate.Queue
- func TaskChatRenderNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskChatRenderNotNil() predicate.Queue
- func TaskChatRenderValidator(tcr utils.TaskStatus) error
- func TaskVideoConvertEQ(v utils.TaskStatus) predicate.Queue
- func TaskVideoConvertIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVideoConvertIsNil() predicate.Queue
- func TaskVideoConvertNEQ(v utils.TaskStatus) predicate.Queue
- func TaskVideoConvertNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVideoConvertNotNil() predicate.Queue
- func TaskVideoConvertValidator(tvc utils.TaskStatus) error
- func TaskVideoDownloadEQ(v utils.TaskStatus) predicate.Queue
- func TaskVideoDownloadIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVideoDownloadIsNil() predicate.Queue
- func TaskVideoDownloadNEQ(v utils.TaskStatus) predicate.Queue
- func TaskVideoDownloadNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVideoDownloadNotNil() predicate.Queue
- func TaskVideoDownloadValidator(tvd utils.TaskStatus) error
- func TaskVideoMoveEQ(v utils.TaskStatus) predicate.Queue
- func TaskVideoMoveIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVideoMoveIsNil() predicate.Queue
- func TaskVideoMoveNEQ(v utils.TaskStatus) predicate.Queue
- func TaskVideoMoveNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVideoMoveNotNil() predicate.Queue
- func TaskVideoMoveValidator(tvm utils.TaskStatus) error
- func TaskVodCreateFolderEQ(v utils.TaskStatus) predicate.Queue
- func TaskVodCreateFolderIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVodCreateFolderIsNil() predicate.Queue
- func TaskVodCreateFolderNEQ(v utils.TaskStatus) predicate.Queue
- func TaskVodCreateFolderNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVodCreateFolderNotNil() predicate.Queue
- func TaskVodCreateFolderValidator(tvcf utils.TaskStatus) error
- func TaskVodDownloadThumbnailEQ(v utils.TaskStatus) predicate.Queue
- func TaskVodDownloadThumbnailIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVodDownloadThumbnailIsNil() predicate.Queue
- func TaskVodDownloadThumbnailNEQ(v utils.TaskStatus) predicate.Queue
- func TaskVodDownloadThumbnailNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVodDownloadThumbnailNotNil() predicate.Queue
- func TaskVodDownloadThumbnailValidator(tvdt utils.TaskStatus) error
- func TaskVodSaveInfoEQ(v utils.TaskStatus) predicate.Queue
- func TaskVodSaveInfoIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVodSaveInfoIsNil() predicate.Queue
- func TaskVodSaveInfoNEQ(v utils.TaskStatus) predicate.Queue
- func TaskVodSaveInfoNotIn(vs ...utils.TaskStatus) predicate.Queue
- func TaskVodSaveInfoNotNil() predicate.Queue
- func TaskVodSaveInfoValidator(tvsi utils.TaskStatus) error
- func UpdatedAt(v time.Time) predicate.Queue
- func UpdatedAtEQ(v time.Time) predicate.Queue
- func UpdatedAtGT(v time.Time) predicate.Queue
- func UpdatedAtGTE(v time.Time) predicate.Queue
- func UpdatedAtIn(vs ...time.Time) predicate.Queue
- func UpdatedAtLT(v time.Time) predicate.Queue
- func UpdatedAtLTE(v time.Time) predicate.Queue
- func UpdatedAtNEQ(v time.Time) predicate.Queue
- func UpdatedAtNotIn(vs ...time.Time) predicate.Queue
- func ValidColumn(column string) bool
- func VideoProcessing(v bool) predicate.Queue
- func VideoProcessingEQ(v bool) predicate.Queue
- func VideoProcessingNEQ(v bool) predicate.Queue
- type OrderOption
- func ByChatProcessing(opts ...sql.OrderTermOption) OrderOption
- func ByChatStart(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLiveArchive(opts ...sql.OrderTermOption) OrderOption
- func ByOnHold(opts ...sql.OrderTermOption) OrderOption
- func ByProcessing(opts ...sql.OrderTermOption) OrderOption
- func ByRenderChat(opts ...sql.OrderTermOption) OrderOption
- func ByTaskChatConvert(opts ...sql.OrderTermOption) OrderOption
- func ByTaskChatDownload(opts ...sql.OrderTermOption) OrderOption
- func ByTaskChatMove(opts ...sql.OrderTermOption) OrderOption
- func ByTaskChatRender(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVideoConvert(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVideoDownload(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVideoMove(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVodCreateFolder(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVodDownloadThumbnail(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVodSaveInfo(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVideoProcessing(opts ...sql.OrderTermOption) OrderOption
- func ByVodField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" )
const DefaultTaskChatConvert utils.TaskStatus = "pending"
const DefaultTaskChatDownload utils.TaskStatus = "pending"
const DefaultTaskChatMove utils.TaskStatus = "pending"
const DefaultTaskChatRender utils.TaskStatus = "pending"
const DefaultTaskVideoConvert utils.TaskStatus = "pending"
const DefaultTaskVideoDownload utils.TaskStatus = "pending"
const DefaultTaskVideoMove utils.TaskStatus = "pending"
const DefaultTaskVodCreateFolder utils.TaskStatus = "pending"
const DefaultTaskVodDownloadThumbnail utils.TaskStatus = "pending"
const DefaultTaskVodSaveInfo utils.TaskStatus = "pending"
Variables ¶
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 )
var Columns = []string{ FieldID, FieldLiveArchive, FieldOnHold, FieldVideoProcessing, FieldChatProcessing, FieldProcessing, FieldTaskVodCreateFolder, FieldTaskVodDownloadThumbnail, FieldTaskVodSaveInfo, FieldTaskVideoDownload, FieldTaskVideoConvert, FieldTaskVideoMove, FieldTaskChatDownload, FieldTaskChatConvert, FieldTaskChatRender, FieldTaskChatMove, FieldChatStart, FieldRenderChat, FieldUpdatedAt, FieldCreatedAt, }
Columns holds all SQL columns for queue fields.
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 ChatProcessing ¶
ChatProcessing applies equality check predicate on the "chat_processing" field. It's identical to ChatProcessingEQ.
func ChatProcessingEQ ¶
ChatProcessingEQ applies the EQ predicate on the "chat_processing" field.
func ChatProcessingNEQ ¶
ChatProcessingNEQ applies the NEQ predicate on the "chat_processing" field.
func ChatStart ¶
ChatStart applies equality check predicate on the "chat_start" field. It's identical to ChatStartEQ.
func ChatStartEQ ¶
ChatStartEQ applies the EQ predicate on the "chat_start" field.
func ChatStartGT ¶
ChatStartGT applies the GT predicate on the "chat_start" field.
func ChatStartGTE ¶
ChatStartGTE applies the GTE predicate on the "chat_start" field.
func ChatStartIn ¶
ChatStartIn applies the In predicate on the "chat_start" field.
func ChatStartIsNil ¶
ChatStartIsNil applies the IsNil predicate on the "chat_start" field.
func ChatStartLT ¶
ChatStartLT applies the LT predicate on the "chat_start" field.
func ChatStartLTE ¶
ChatStartLTE applies the LTE predicate on the "chat_start" field.
func ChatStartNEQ ¶
ChatStartNEQ applies the NEQ predicate on the "chat_start" field.
func ChatStartNotIn ¶
ChatStartNotIn applies the NotIn predicate on the "chat_start" field.
func ChatStartNotNil ¶
ChatStartNotNil applies the NotNil predicate on the "chat_start" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasVodWith ¶
HasVodWith applies the HasEdge predicate on the "vod" edge with a given conditions (other predicates).
func LiveArchive ¶
LiveArchive applies equality check predicate on the "live_archive" field. It's identical to LiveArchiveEQ.
func LiveArchiveEQ ¶
LiveArchiveEQ applies the EQ predicate on the "live_archive" field.
func LiveArchiveNEQ ¶
LiveArchiveNEQ applies the NEQ predicate on the "live_archive" field.
func OnHold ¶
OnHold applies equality check predicate on the "on_hold" field. It's identical to OnHoldEQ.
func Processing ¶
Processing applies equality check predicate on the "processing" field. It's identical to ProcessingEQ.
func ProcessingEQ ¶
ProcessingEQ applies the EQ predicate on the "processing" field.
func ProcessingNEQ ¶
ProcessingNEQ applies the NEQ predicate on the "processing" field.
func RenderChat ¶ added in v1.1.7
RenderChat applies equality check predicate on the "render_chat" field. It's identical to RenderChatEQ.
func RenderChatEQ ¶ added in v1.1.7
RenderChatEQ applies the EQ predicate on the "render_chat" field.
func RenderChatIsNil ¶ added in v1.1.7
RenderChatIsNil applies the IsNil predicate on the "render_chat" field.
func RenderChatNEQ ¶ added in v1.1.7
RenderChatNEQ applies the NEQ predicate on the "render_chat" field.
func RenderChatNotNil ¶ added in v1.1.7
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VideoProcessing ¶
VideoProcessing applies equality check predicate on the "video_processing" field. It's identical to VideoProcessingEQ.
func VideoProcessingEQ ¶
VideoProcessingEQ applies the EQ predicate on the "video_processing" field.
func VideoProcessingNEQ ¶
VideoProcessingNEQ applies the NEQ predicate on the "video_processing" field.
Types ¶
type OrderOption ¶ added in v1.2.12
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.