Release / update-version (push) Has been cancelled
Release / build-frontend (push) Has been cancelled
Release / release (push) Has been cancelled
Release / sync-version-file (push) Has been cancelled
CI / shell (push) Canceled after 0s
CI / test (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / golangci-lint (push) Canceled after 0s
Security Scan / backend-security (push) Canceled after 0s
Security Scan / frontend-security (push) Canceled after 0s
1206 lines
49 KiB
Go
1206 lines
49 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package batchimageitem
|
|
|
|
import (
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
"github.com/Wei-Shaw/sub2api/ent/predicate"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// JobID applies equality check predicate on the "job_id" field. It's identical to JobIDEQ.
|
|
func JobID(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldJobID, v))
|
|
}
|
|
|
|
// CustomID applies equality check predicate on the "custom_id" field. It's identical to CustomIDEQ.
|
|
func CustomID(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldCustomID, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// RequestHash applies equality check predicate on the "request_hash" field. It's identical to RequestHashEQ.
|
|
func RequestHash(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldRequestHash, v))
|
|
}
|
|
|
|
// PromptPreview applies equality check predicate on the "prompt_preview" field. It's identical to PromptPreviewEQ.
|
|
func PromptPreview(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldPromptPreview, v))
|
|
}
|
|
|
|
// ProviderSourceObject applies equality check predicate on the "provider_source_object" field. It's identical to ProviderSourceObjectEQ.
|
|
func ProviderSourceObject(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// SourceLineNumber applies equality check predicate on the "source_line_number" field. It's identical to SourceLineNumberEQ.
|
|
func SourceLineNumber(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldSourceLineNumber, v))
|
|
}
|
|
|
|
// SourceByteOffset applies equality check predicate on the "source_byte_offset" field. It's identical to SourceByteOffsetEQ.
|
|
func SourceByteOffset(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteOffset, v))
|
|
}
|
|
|
|
// SourceByteLength applies equality check predicate on the "source_byte_length" field. It's identical to SourceByteLengthEQ.
|
|
func SourceByteLength(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteLength, v))
|
|
}
|
|
|
|
// MimeType applies equality check predicate on the "mime_type" field. It's identical to MimeTypeEQ.
|
|
func MimeType(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldMimeType, v))
|
|
}
|
|
|
|
// FileExtension applies equality check predicate on the "file_extension" field. It's identical to FileExtensionEQ.
|
|
func FileExtension(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldFileExtension, v))
|
|
}
|
|
|
|
// ImageCount applies equality check predicate on the "image_count" field. It's identical to ImageCountEQ.
|
|
func ImageCount(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldImageCount, v))
|
|
}
|
|
|
|
// ErrorCode applies equality check predicate on the "error_code" field. It's identical to ErrorCodeEQ.
|
|
func ErrorCode(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
|
|
func ErrorMessage(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldErrorMessage, v))
|
|
}
|
|
|
|
// BilledAmount applies equality check predicate on the "billed_amount" field. It's identical to BilledAmountEQ.
|
|
func BilledAmount(v float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldBilledAmount, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// IndexedAt applies equality check predicate on the "indexed_at" field. It's identical to IndexedAtEQ.
|
|
func IndexedAt(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldIndexedAt, v))
|
|
}
|
|
|
|
// JobIDEQ applies the EQ predicate on the "job_id" field.
|
|
func JobIDEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDNEQ applies the NEQ predicate on the "job_id" field.
|
|
func JobIDNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDIn applies the In predicate on the "job_id" field.
|
|
func JobIDIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldJobID, vs...))
|
|
}
|
|
|
|
// JobIDNotIn applies the NotIn predicate on the "job_id" field.
|
|
func JobIDNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldJobID, vs...))
|
|
}
|
|
|
|
// JobIDGT applies the GT predicate on the "job_id" field.
|
|
func JobIDGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDGTE applies the GTE predicate on the "job_id" field.
|
|
func JobIDGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDLT applies the LT predicate on the "job_id" field.
|
|
func JobIDLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDLTE applies the LTE predicate on the "job_id" field.
|
|
func JobIDLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDContains applies the Contains predicate on the "job_id" field.
|
|
func JobIDContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDHasPrefix applies the HasPrefix predicate on the "job_id" field.
|
|
func JobIDHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDHasSuffix applies the HasSuffix predicate on the "job_id" field.
|
|
func JobIDHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDEqualFold applies the EqualFold predicate on the "job_id" field.
|
|
func JobIDEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldJobID, v))
|
|
}
|
|
|
|
// JobIDContainsFold applies the ContainsFold predicate on the "job_id" field.
|
|
func JobIDContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldJobID, v))
|
|
}
|
|
|
|
// CustomIDEQ applies the EQ predicate on the "custom_id" field.
|
|
func CustomIDEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDNEQ applies the NEQ predicate on the "custom_id" field.
|
|
func CustomIDNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDIn applies the In predicate on the "custom_id" field.
|
|
func CustomIDIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldCustomID, vs...))
|
|
}
|
|
|
|
// CustomIDNotIn applies the NotIn predicate on the "custom_id" field.
|
|
func CustomIDNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldCustomID, vs...))
|
|
}
|
|
|
|
// CustomIDGT applies the GT predicate on the "custom_id" field.
|
|
func CustomIDGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDGTE applies the GTE predicate on the "custom_id" field.
|
|
func CustomIDGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDLT applies the LT predicate on the "custom_id" field.
|
|
func CustomIDLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDLTE applies the LTE predicate on the "custom_id" field.
|
|
func CustomIDLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDContains applies the Contains predicate on the "custom_id" field.
|
|
func CustomIDContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDHasPrefix applies the HasPrefix predicate on the "custom_id" field.
|
|
func CustomIDHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDHasSuffix applies the HasSuffix predicate on the "custom_id" field.
|
|
func CustomIDHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDEqualFold applies the EqualFold predicate on the "custom_id" field.
|
|
func CustomIDEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldCustomID, v))
|
|
}
|
|
|
|
// CustomIDContainsFold applies the ContainsFold predicate on the "custom_id" field.
|
|
func CustomIDContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldCustomID, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// RequestHashEQ applies the EQ predicate on the "request_hash" field.
|
|
func RequestHashEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashNEQ applies the NEQ predicate on the "request_hash" field.
|
|
func RequestHashNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashIn applies the In predicate on the "request_hash" field.
|
|
func RequestHashIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldRequestHash, vs...))
|
|
}
|
|
|
|
// RequestHashNotIn applies the NotIn predicate on the "request_hash" field.
|
|
func RequestHashNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldRequestHash, vs...))
|
|
}
|
|
|
|
// RequestHashGT applies the GT predicate on the "request_hash" field.
|
|
func RequestHashGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashGTE applies the GTE predicate on the "request_hash" field.
|
|
func RequestHashGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashLT applies the LT predicate on the "request_hash" field.
|
|
func RequestHashLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashLTE applies the LTE predicate on the "request_hash" field.
|
|
func RequestHashLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashContains applies the Contains predicate on the "request_hash" field.
|
|
func RequestHashContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashHasPrefix applies the HasPrefix predicate on the "request_hash" field.
|
|
func RequestHashHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashHasSuffix applies the HasSuffix predicate on the "request_hash" field.
|
|
func RequestHashHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashIsNil applies the IsNil predicate on the "request_hash" field.
|
|
func RequestHashIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldRequestHash))
|
|
}
|
|
|
|
// RequestHashNotNil applies the NotNil predicate on the "request_hash" field.
|
|
func RequestHashNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldRequestHash))
|
|
}
|
|
|
|
// RequestHashEqualFold applies the EqualFold predicate on the "request_hash" field.
|
|
func RequestHashEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldRequestHash, v))
|
|
}
|
|
|
|
// RequestHashContainsFold applies the ContainsFold predicate on the "request_hash" field.
|
|
func RequestHashContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldRequestHash, v))
|
|
}
|
|
|
|
// PromptPreviewEQ applies the EQ predicate on the "prompt_preview" field.
|
|
func PromptPreviewEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewNEQ applies the NEQ predicate on the "prompt_preview" field.
|
|
func PromptPreviewNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewIn applies the In predicate on the "prompt_preview" field.
|
|
func PromptPreviewIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldPromptPreview, vs...))
|
|
}
|
|
|
|
// PromptPreviewNotIn applies the NotIn predicate on the "prompt_preview" field.
|
|
func PromptPreviewNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldPromptPreview, vs...))
|
|
}
|
|
|
|
// PromptPreviewGT applies the GT predicate on the "prompt_preview" field.
|
|
func PromptPreviewGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewGTE applies the GTE predicate on the "prompt_preview" field.
|
|
func PromptPreviewGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewLT applies the LT predicate on the "prompt_preview" field.
|
|
func PromptPreviewLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewLTE applies the LTE predicate on the "prompt_preview" field.
|
|
func PromptPreviewLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewContains applies the Contains predicate on the "prompt_preview" field.
|
|
func PromptPreviewContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewHasPrefix applies the HasPrefix predicate on the "prompt_preview" field.
|
|
func PromptPreviewHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewHasSuffix applies the HasSuffix predicate on the "prompt_preview" field.
|
|
func PromptPreviewHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewIsNil applies the IsNil predicate on the "prompt_preview" field.
|
|
func PromptPreviewIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldPromptPreview))
|
|
}
|
|
|
|
// PromptPreviewNotNil applies the NotNil predicate on the "prompt_preview" field.
|
|
func PromptPreviewNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldPromptPreview))
|
|
}
|
|
|
|
// PromptPreviewEqualFold applies the EqualFold predicate on the "prompt_preview" field.
|
|
func PromptPreviewEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldPromptPreview, v))
|
|
}
|
|
|
|
// PromptPreviewContainsFold applies the ContainsFold predicate on the "prompt_preview" field.
|
|
func PromptPreviewContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldPromptPreview, v))
|
|
}
|
|
|
|
// ProviderSourceObjectEQ applies the EQ predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectNEQ applies the NEQ predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectIn applies the In predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldProviderSourceObject, vs...))
|
|
}
|
|
|
|
// ProviderSourceObjectNotIn applies the NotIn predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldProviderSourceObject, vs...))
|
|
}
|
|
|
|
// ProviderSourceObjectGT applies the GT predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectGTE applies the GTE predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectLT applies the LT predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectLTE applies the LTE predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectContains applies the Contains predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectHasPrefix applies the HasPrefix predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectHasSuffix applies the HasSuffix predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectIsNil applies the IsNil predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldProviderSourceObject))
|
|
}
|
|
|
|
// ProviderSourceObjectNotNil applies the NotNil predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldProviderSourceObject))
|
|
}
|
|
|
|
// ProviderSourceObjectEqualFold applies the EqualFold predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// ProviderSourceObjectContainsFold applies the ContainsFold predicate on the "provider_source_object" field.
|
|
func ProviderSourceObjectContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldProviderSourceObject, v))
|
|
}
|
|
|
|
// SourceLineNumberEQ applies the EQ predicate on the "source_line_number" field.
|
|
func SourceLineNumberEQ(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldSourceLineNumber, v))
|
|
}
|
|
|
|
// SourceLineNumberNEQ applies the NEQ predicate on the "source_line_number" field.
|
|
func SourceLineNumberNEQ(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldSourceLineNumber, v))
|
|
}
|
|
|
|
// SourceLineNumberIn applies the In predicate on the "source_line_number" field.
|
|
func SourceLineNumberIn(vs ...int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldSourceLineNumber, vs...))
|
|
}
|
|
|
|
// SourceLineNumberNotIn applies the NotIn predicate on the "source_line_number" field.
|
|
func SourceLineNumberNotIn(vs ...int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldSourceLineNumber, vs...))
|
|
}
|
|
|
|
// SourceLineNumberGT applies the GT predicate on the "source_line_number" field.
|
|
func SourceLineNumberGT(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldSourceLineNumber, v))
|
|
}
|
|
|
|
// SourceLineNumberGTE applies the GTE predicate on the "source_line_number" field.
|
|
func SourceLineNumberGTE(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldSourceLineNumber, v))
|
|
}
|
|
|
|
// SourceLineNumberLT applies the LT predicate on the "source_line_number" field.
|
|
func SourceLineNumberLT(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldSourceLineNumber, v))
|
|
}
|
|
|
|
// SourceLineNumberLTE applies the LTE predicate on the "source_line_number" field.
|
|
func SourceLineNumberLTE(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldSourceLineNumber, v))
|
|
}
|
|
|
|
// SourceLineNumberIsNil applies the IsNil predicate on the "source_line_number" field.
|
|
func SourceLineNumberIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldSourceLineNumber))
|
|
}
|
|
|
|
// SourceLineNumberNotNil applies the NotNil predicate on the "source_line_number" field.
|
|
func SourceLineNumberNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldSourceLineNumber))
|
|
}
|
|
|
|
// SourceByteOffsetEQ applies the EQ predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetEQ(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteOffset, v))
|
|
}
|
|
|
|
// SourceByteOffsetNEQ applies the NEQ predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetNEQ(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldSourceByteOffset, v))
|
|
}
|
|
|
|
// SourceByteOffsetIn applies the In predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetIn(vs ...int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldSourceByteOffset, vs...))
|
|
}
|
|
|
|
// SourceByteOffsetNotIn applies the NotIn predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetNotIn(vs ...int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldSourceByteOffset, vs...))
|
|
}
|
|
|
|
// SourceByteOffsetGT applies the GT predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetGT(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldSourceByteOffset, v))
|
|
}
|
|
|
|
// SourceByteOffsetGTE applies the GTE predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetGTE(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldSourceByteOffset, v))
|
|
}
|
|
|
|
// SourceByteOffsetLT applies the LT predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetLT(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldSourceByteOffset, v))
|
|
}
|
|
|
|
// SourceByteOffsetLTE applies the LTE predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetLTE(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldSourceByteOffset, v))
|
|
}
|
|
|
|
// SourceByteOffsetIsNil applies the IsNil predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldSourceByteOffset))
|
|
}
|
|
|
|
// SourceByteOffsetNotNil applies the NotNil predicate on the "source_byte_offset" field.
|
|
func SourceByteOffsetNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldSourceByteOffset))
|
|
}
|
|
|
|
// SourceByteLengthEQ applies the EQ predicate on the "source_byte_length" field.
|
|
func SourceByteLengthEQ(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteLength, v))
|
|
}
|
|
|
|
// SourceByteLengthNEQ applies the NEQ predicate on the "source_byte_length" field.
|
|
func SourceByteLengthNEQ(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldSourceByteLength, v))
|
|
}
|
|
|
|
// SourceByteLengthIn applies the In predicate on the "source_byte_length" field.
|
|
func SourceByteLengthIn(vs ...int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldSourceByteLength, vs...))
|
|
}
|
|
|
|
// SourceByteLengthNotIn applies the NotIn predicate on the "source_byte_length" field.
|
|
func SourceByteLengthNotIn(vs ...int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldSourceByteLength, vs...))
|
|
}
|
|
|
|
// SourceByteLengthGT applies the GT predicate on the "source_byte_length" field.
|
|
func SourceByteLengthGT(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldSourceByteLength, v))
|
|
}
|
|
|
|
// SourceByteLengthGTE applies the GTE predicate on the "source_byte_length" field.
|
|
func SourceByteLengthGTE(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldSourceByteLength, v))
|
|
}
|
|
|
|
// SourceByteLengthLT applies the LT predicate on the "source_byte_length" field.
|
|
func SourceByteLengthLT(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldSourceByteLength, v))
|
|
}
|
|
|
|
// SourceByteLengthLTE applies the LTE predicate on the "source_byte_length" field.
|
|
func SourceByteLengthLTE(v int64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldSourceByteLength, v))
|
|
}
|
|
|
|
// SourceByteLengthIsNil applies the IsNil predicate on the "source_byte_length" field.
|
|
func SourceByteLengthIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldSourceByteLength))
|
|
}
|
|
|
|
// SourceByteLengthNotNil applies the NotNil predicate on the "source_byte_length" field.
|
|
func SourceByteLengthNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldSourceByteLength))
|
|
}
|
|
|
|
// MimeTypeEQ applies the EQ predicate on the "mime_type" field.
|
|
func MimeTypeEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeNEQ applies the NEQ predicate on the "mime_type" field.
|
|
func MimeTypeNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeIn applies the In predicate on the "mime_type" field.
|
|
func MimeTypeIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldMimeType, vs...))
|
|
}
|
|
|
|
// MimeTypeNotIn applies the NotIn predicate on the "mime_type" field.
|
|
func MimeTypeNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldMimeType, vs...))
|
|
}
|
|
|
|
// MimeTypeGT applies the GT predicate on the "mime_type" field.
|
|
func MimeTypeGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeGTE applies the GTE predicate on the "mime_type" field.
|
|
func MimeTypeGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeLT applies the LT predicate on the "mime_type" field.
|
|
func MimeTypeLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeLTE applies the LTE predicate on the "mime_type" field.
|
|
func MimeTypeLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeContains applies the Contains predicate on the "mime_type" field.
|
|
func MimeTypeContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeHasPrefix applies the HasPrefix predicate on the "mime_type" field.
|
|
func MimeTypeHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeHasSuffix applies the HasSuffix predicate on the "mime_type" field.
|
|
func MimeTypeHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeIsNil applies the IsNil predicate on the "mime_type" field.
|
|
func MimeTypeIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldMimeType))
|
|
}
|
|
|
|
// MimeTypeNotNil applies the NotNil predicate on the "mime_type" field.
|
|
func MimeTypeNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldMimeType))
|
|
}
|
|
|
|
// MimeTypeEqualFold applies the EqualFold predicate on the "mime_type" field.
|
|
func MimeTypeEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldMimeType, v))
|
|
}
|
|
|
|
// MimeTypeContainsFold applies the ContainsFold predicate on the "mime_type" field.
|
|
func MimeTypeContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldMimeType, v))
|
|
}
|
|
|
|
// FileExtensionEQ applies the EQ predicate on the "file_extension" field.
|
|
func FileExtensionEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionNEQ applies the NEQ predicate on the "file_extension" field.
|
|
func FileExtensionNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionIn applies the In predicate on the "file_extension" field.
|
|
func FileExtensionIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldFileExtension, vs...))
|
|
}
|
|
|
|
// FileExtensionNotIn applies the NotIn predicate on the "file_extension" field.
|
|
func FileExtensionNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldFileExtension, vs...))
|
|
}
|
|
|
|
// FileExtensionGT applies the GT predicate on the "file_extension" field.
|
|
func FileExtensionGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionGTE applies the GTE predicate on the "file_extension" field.
|
|
func FileExtensionGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionLT applies the LT predicate on the "file_extension" field.
|
|
func FileExtensionLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionLTE applies the LTE predicate on the "file_extension" field.
|
|
func FileExtensionLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionContains applies the Contains predicate on the "file_extension" field.
|
|
func FileExtensionContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionHasPrefix applies the HasPrefix predicate on the "file_extension" field.
|
|
func FileExtensionHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionHasSuffix applies the HasSuffix predicate on the "file_extension" field.
|
|
func FileExtensionHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionIsNil applies the IsNil predicate on the "file_extension" field.
|
|
func FileExtensionIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldFileExtension))
|
|
}
|
|
|
|
// FileExtensionNotNil applies the NotNil predicate on the "file_extension" field.
|
|
func FileExtensionNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldFileExtension))
|
|
}
|
|
|
|
// FileExtensionEqualFold applies the EqualFold predicate on the "file_extension" field.
|
|
func FileExtensionEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldFileExtension, v))
|
|
}
|
|
|
|
// FileExtensionContainsFold applies the ContainsFold predicate on the "file_extension" field.
|
|
func FileExtensionContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldFileExtension, v))
|
|
}
|
|
|
|
// ImageCountEQ applies the EQ predicate on the "image_count" field.
|
|
func ImageCountEQ(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldImageCount, v))
|
|
}
|
|
|
|
// ImageCountNEQ applies the NEQ predicate on the "image_count" field.
|
|
func ImageCountNEQ(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldImageCount, v))
|
|
}
|
|
|
|
// ImageCountIn applies the In predicate on the "image_count" field.
|
|
func ImageCountIn(vs ...int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldImageCount, vs...))
|
|
}
|
|
|
|
// ImageCountNotIn applies the NotIn predicate on the "image_count" field.
|
|
func ImageCountNotIn(vs ...int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldImageCount, vs...))
|
|
}
|
|
|
|
// ImageCountGT applies the GT predicate on the "image_count" field.
|
|
func ImageCountGT(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldImageCount, v))
|
|
}
|
|
|
|
// ImageCountGTE applies the GTE predicate on the "image_count" field.
|
|
func ImageCountGTE(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldImageCount, v))
|
|
}
|
|
|
|
// ImageCountLT applies the LT predicate on the "image_count" field.
|
|
func ImageCountLT(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldImageCount, v))
|
|
}
|
|
|
|
// ImageCountLTE applies the LTE predicate on the "image_count" field.
|
|
func ImageCountLTE(v int) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldImageCount, v))
|
|
}
|
|
|
|
// ErrorCodeEQ applies the EQ predicate on the "error_code" field.
|
|
func ErrorCodeEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeNEQ applies the NEQ predicate on the "error_code" field.
|
|
func ErrorCodeNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeIn applies the In predicate on the "error_code" field.
|
|
func ErrorCodeIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldErrorCode, vs...))
|
|
}
|
|
|
|
// ErrorCodeNotIn applies the NotIn predicate on the "error_code" field.
|
|
func ErrorCodeNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldErrorCode, vs...))
|
|
}
|
|
|
|
// ErrorCodeGT applies the GT predicate on the "error_code" field.
|
|
func ErrorCodeGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeGTE applies the GTE predicate on the "error_code" field.
|
|
func ErrorCodeGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeLT applies the LT predicate on the "error_code" field.
|
|
func ErrorCodeLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeLTE applies the LTE predicate on the "error_code" field.
|
|
func ErrorCodeLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeContains applies the Contains predicate on the "error_code" field.
|
|
func ErrorCodeContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeHasPrefix applies the HasPrefix predicate on the "error_code" field.
|
|
func ErrorCodeHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeHasSuffix applies the HasSuffix predicate on the "error_code" field.
|
|
func ErrorCodeHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeIsNil applies the IsNil predicate on the "error_code" field.
|
|
func ErrorCodeIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldErrorCode))
|
|
}
|
|
|
|
// ErrorCodeNotNil applies the NotNil predicate on the "error_code" field.
|
|
func ErrorCodeNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldErrorCode))
|
|
}
|
|
|
|
// ErrorCodeEqualFold applies the EqualFold predicate on the "error_code" field.
|
|
func ErrorCodeEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorCodeContainsFold applies the ContainsFold predicate on the "error_code" field.
|
|
func ErrorCodeContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldErrorCode, v))
|
|
}
|
|
|
|
// ErrorMessageEQ applies the EQ predicate on the "error_message" field.
|
|
func ErrorMessageEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
|
|
func ErrorMessageNEQ(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageIn applies the In predicate on the "error_message" field.
|
|
func ErrorMessageIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldErrorMessage, vs...))
|
|
}
|
|
|
|
// ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
|
|
func ErrorMessageNotIn(vs ...string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldErrorMessage, vs...))
|
|
}
|
|
|
|
// ErrorMessageGT applies the GT predicate on the "error_message" field.
|
|
func ErrorMessageGT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageGTE applies the GTE predicate on the "error_message" field.
|
|
func ErrorMessageGTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageLT applies the LT predicate on the "error_message" field.
|
|
func ErrorMessageLT(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageLTE applies the LTE predicate on the "error_message" field.
|
|
func ErrorMessageLTE(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageContains applies the Contains predicate on the "error_message" field.
|
|
func ErrorMessageContains(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContains(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
|
|
func ErrorMessageHasPrefix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasPrefix(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
|
|
func ErrorMessageHasSuffix(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldHasSuffix(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
|
|
func ErrorMessageIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldErrorMessage))
|
|
}
|
|
|
|
// ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
|
|
func ErrorMessageNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldErrorMessage))
|
|
}
|
|
|
|
// ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
|
|
func ErrorMessageEqualFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEqualFold(FieldErrorMessage, v))
|
|
}
|
|
|
|
// ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
|
|
func ErrorMessageContainsFold(v string) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldContainsFold(FieldErrorMessage, v))
|
|
}
|
|
|
|
// BilledAmountEQ applies the EQ predicate on the "billed_amount" field.
|
|
func BilledAmountEQ(v float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldBilledAmount, v))
|
|
}
|
|
|
|
// BilledAmountNEQ applies the NEQ predicate on the "billed_amount" field.
|
|
func BilledAmountNEQ(v float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldBilledAmount, v))
|
|
}
|
|
|
|
// BilledAmountIn applies the In predicate on the "billed_amount" field.
|
|
func BilledAmountIn(vs ...float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldBilledAmount, vs...))
|
|
}
|
|
|
|
// BilledAmountNotIn applies the NotIn predicate on the "billed_amount" field.
|
|
func BilledAmountNotIn(vs ...float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldBilledAmount, vs...))
|
|
}
|
|
|
|
// BilledAmountGT applies the GT predicate on the "billed_amount" field.
|
|
func BilledAmountGT(v float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldBilledAmount, v))
|
|
}
|
|
|
|
// BilledAmountGTE applies the GTE predicate on the "billed_amount" field.
|
|
func BilledAmountGTE(v float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldBilledAmount, v))
|
|
}
|
|
|
|
// BilledAmountLT applies the LT predicate on the "billed_amount" field.
|
|
func BilledAmountLT(v float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldBilledAmount, v))
|
|
}
|
|
|
|
// BilledAmountLTE applies the LTE predicate on the "billed_amount" field.
|
|
func BilledAmountLTE(v float64) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldBilledAmount, v))
|
|
}
|
|
|
|
// BilledAmountIsNil applies the IsNil predicate on the "billed_amount" field.
|
|
func BilledAmountIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldBilledAmount))
|
|
}
|
|
|
|
// BilledAmountNotNil applies the NotNil predicate on the "billed_amount" field.
|
|
func BilledAmountNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldBilledAmount))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// IndexedAtEQ applies the EQ predicate on the "indexed_at" field.
|
|
func IndexedAtEQ(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldEQ(FieldIndexedAt, v))
|
|
}
|
|
|
|
// IndexedAtNEQ applies the NEQ predicate on the "indexed_at" field.
|
|
func IndexedAtNEQ(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNEQ(FieldIndexedAt, v))
|
|
}
|
|
|
|
// IndexedAtIn applies the In predicate on the "indexed_at" field.
|
|
func IndexedAtIn(vs ...time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIn(FieldIndexedAt, vs...))
|
|
}
|
|
|
|
// IndexedAtNotIn applies the NotIn predicate on the "indexed_at" field.
|
|
func IndexedAtNotIn(vs ...time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotIn(FieldIndexedAt, vs...))
|
|
}
|
|
|
|
// IndexedAtGT applies the GT predicate on the "indexed_at" field.
|
|
func IndexedAtGT(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGT(FieldIndexedAt, v))
|
|
}
|
|
|
|
// IndexedAtGTE applies the GTE predicate on the "indexed_at" field.
|
|
func IndexedAtGTE(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldGTE(FieldIndexedAt, v))
|
|
}
|
|
|
|
// IndexedAtLT applies the LT predicate on the "indexed_at" field.
|
|
func IndexedAtLT(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLT(FieldIndexedAt, v))
|
|
}
|
|
|
|
// IndexedAtLTE applies the LTE predicate on the "indexed_at" field.
|
|
func IndexedAtLTE(v time.Time) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldLTE(FieldIndexedAt, v))
|
|
}
|
|
|
|
// IndexedAtIsNil applies the IsNil predicate on the "indexed_at" field.
|
|
func IndexedAtIsNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldIsNull(FieldIndexedAt))
|
|
}
|
|
|
|
// IndexedAtNotNil applies the NotNil predicate on the "indexed_at" field.
|
|
func IndexedAtNotNil() predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.FieldNotNull(FieldIndexedAt))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.BatchImageItem) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.BatchImageItem) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.BatchImageItem) predicate.BatchImageItem {
|
|
return predicate.BatchImageItem(sql.NotPredicates(p))
|
|
}
|