Documentation ¶
Index ¶
- Constants
- Variables
- func APITokenID(v uuid.UUID) predicate.Generation
- func APITokenIDEQ(v uuid.UUID) predicate.Generation
- func APITokenIDIn(vs ...uuid.UUID) predicate.Generation
- func APITokenIDIsNil() predicate.Generation
- func APITokenIDNEQ(v uuid.UUID) predicate.Generation
- func APITokenIDNotIn(vs ...uuid.UUID) predicate.Generation
- func APITokenIDNotNil() predicate.Generation
- func And(predicates ...predicate.Generation) predicate.Generation
- func CompletedAt(v time.Time) predicate.Generation
- func CompletedAtEQ(v time.Time) predicate.Generation
- func CompletedAtGT(v time.Time) predicate.Generation
- func CompletedAtGTE(v time.Time) predicate.Generation
- func CompletedAtIn(vs ...time.Time) predicate.Generation
- func CompletedAtIsNil() predicate.Generation
- func CompletedAtLT(v time.Time) predicate.Generation
- func CompletedAtLTE(v time.Time) predicate.Generation
- func CompletedAtNEQ(v time.Time) predicate.Generation
- func CompletedAtNotIn(vs ...time.Time) predicate.Generation
- func CompletedAtNotNil() predicate.Generation
- func CountryCode(v string) predicate.Generation
- func CountryCodeContains(v string) predicate.Generation
- func CountryCodeContainsFold(v string) predicate.Generation
- func CountryCodeEQ(v string) predicate.Generation
- func CountryCodeEqualFold(v string) predicate.Generation
- func CountryCodeGT(v string) predicate.Generation
- func CountryCodeGTE(v string) predicate.Generation
- func CountryCodeHasPrefix(v string) predicate.Generation
- func CountryCodeHasSuffix(v string) predicate.Generation
- func CountryCodeIn(vs ...string) predicate.Generation
- func CountryCodeIsNil() predicate.Generation
- func CountryCodeLT(v string) predicate.Generation
- func CountryCodeLTE(v string) predicate.Generation
- func CountryCodeNEQ(v string) predicate.Generation
- func CountryCodeNotIn(vs ...string) predicate.Generation
- func CountryCodeNotNil() predicate.Generation
- func CreatedAt(v time.Time) predicate.Generation
- func CreatedAtEQ(v time.Time) predicate.Generation
- func CreatedAtGT(v time.Time) predicate.Generation
- func CreatedAtGTE(v time.Time) predicate.Generation
- func CreatedAtIn(vs ...time.Time) predicate.Generation
- func CreatedAtLT(v time.Time) predicate.Generation
- func CreatedAtLTE(v time.Time) predicate.Generation
- func CreatedAtNEQ(v time.Time) predicate.Generation
- func CreatedAtNotIn(vs ...time.Time) predicate.Generation
- func DeviceInfoID(v uuid.UUID) predicate.Generation
- func DeviceInfoIDEQ(v uuid.UUID) predicate.Generation
- func DeviceInfoIDIn(vs ...uuid.UUID) predicate.Generation
- func DeviceInfoIDNEQ(v uuid.UUID) predicate.Generation
- func DeviceInfoIDNotIn(vs ...uuid.UUID) predicate.Generation
- func FailureReason(v string) predicate.Generation
- func FailureReasonContains(v string) predicate.Generation
- func FailureReasonContainsFold(v string) predicate.Generation
- func FailureReasonEQ(v string) predicate.Generation
- func FailureReasonEqualFold(v string) predicate.Generation
- func FailureReasonGT(v string) predicate.Generation
- func FailureReasonGTE(v string) predicate.Generation
- func FailureReasonHasPrefix(v string) predicate.Generation
- func FailureReasonHasSuffix(v string) predicate.Generation
- func FailureReasonIn(vs ...string) predicate.Generation
- func FailureReasonIsNil() predicate.Generation
- func FailureReasonLT(v string) predicate.Generation
- func FailureReasonLTE(v string) predicate.Generation
- func FailureReasonNEQ(v string) predicate.Generation
- func FailureReasonNotIn(vs ...string) predicate.Generation
- func FailureReasonNotNil() predicate.Generation
- func GuidanceScale(v float32) predicate.Generation
- func GuidanceScaleEQ(v float32) predicate.Generation
- func GuidanceScaleGT(v float32) predicate.Generation
- func GuidanceScaleGTE(v float32) predicate.Generation
- func GuidanceScaleIn(vs ...float32) predicate.Generation
- func GuidanceScaleLT(v float32) predicate.Generation
- func GuidanceScaleLTE(v float32) predicate.Generation
- func GuidanceScaleNEQ(v float32) predicate.Generation
- func GuidanceScaleNotIn(vs ...float32) predicate.Generation
- func HasAPITokens() predicate.Generation
- func HasAPITokensWith(preds ...predicate.ApiToken) predicate.Generation
- func HasDeviceInfo() predicate.Generation
- func HasDeviceInfoWith(preds ...predicate.DeviceInfo) predicate.Generation
- func HasGenerationModel() predicate.Generation
- func HasGenerationModelWith(preds ...predicate.GenerationModel) predicate.Generation
- func HasGenerationOutputs() predicate.Generation
- func HasGenerationOutputsWith(preds ...predicate.GenerationOutput) predicate.Generation
- func HasNegativePrompt() predicate.Generation
- func HasNegativePromptWith(preds ...predicate.NegativePrompt) predicate.Generation
- func HasPrompt() predicate.Generation
- func HasPromptWith(preds ...predicate.Prompt) predicate.Generation
- func HasScheduler() predicate.Generation
- func HasSchedulerWith(preds ...predicate.Scheduler) predicate.Generation
- func HasUser() predicate.Generation
- func HasUserWith(preds ...predicate.User) predicate.Generation
- func Height(v int32) predicate.Generation
- func HeightEQ(v int32) predicate.Generation
- func HeightGT(v int32) predicate.Generation
- func HeightGTE(v int32) predicate.Generation
- func HeightIn(vs ...int32) predicate.Generation
- func HeightLT(v int32) predicate.Generation
- func HeightLTE(v int32) predicate.Generation
- func HeightNEQ(v int32) predicate.Generation
- func HeightNotIn(vs ...int32) predicate.Generation
- func ID(id uuid.UUID) predicate.Generation
- func IDEQ(id uuid.UUID) predicate.Generation
- func IDGT(id uuid.UUID) predicate.Generation
- func IDGTE(id uuid.UUID) predicate.Generation
- func IDIn(ids ...uuid.UUID) predicate.Generation
- func IDLT(id uuid.UUID) predicate.Generation
- func IDLTE(id uuid.UUID) predicate.Generation
- func IDNEQ(id uuid.UUID) predicate.Generation
- func IDNotIn(ids ...uuid.UUID) predicate.Generation
- func InferenceSteps(v int32) predicate.Generation
- func InferenceStepsEQ(v int32) predicate.Generation
- func InferenceStepsGT(v int32) predicate.Generation
- func InferenceStepsGTE(v int32) predicate.Generation
- func InferenceStepsIn(vs ...int32) predicate.Generation
- func InferenceStepsLT(v int32) predicate.Generation
- func InferenceStepsLTE(v int32) predicate.Generation
- func InferenceStepsNEQ(v int32) predicate.Generation
- func InferenceStepsNotIn(vs ...int32) predicate.Generation
- func InitImageURL(v string) predicate.Generation
- func InitImageURLContains(v string) predicate.Generation
- func InitImageURLContainsFold(v string) predicate.Generation
- func InitImageURLEQ(v string) predicate.Generation
- func InitImageURLEqualFold(v string) predicate.Generation
- func InitImageURLGT(v string) predicate.Generation
- func InitImageURLGTE(v string) predicate.Generation
- func InitImageURLHasPrefix(v string) predicate.Generation
- func InitImageURLHasSuffix(v string) predicate.Generation
- func InitImageURLIn(vs ...string) predicate.Generation
- func InitImageURLIsNil() predicate.Generation
- func InitImageURLLT(v string) predicate.Generation
- func InitImageURLLTE(v string) predicate.Generation
- func InitImageURLNEQ(v string) predicate.Generation
- func InitImageURLNotIn(vs ...string) predicate.Generation
- func InitImageURLNotNil() predicate.Generation
- func MaskImageURL(v string) predicate.Generation
- func MaskImageURLContains(v string) predicate.Generation
- func MaskImageURLContainsFold(v string) predicate.Generation
- func MaskImageURLEQ(v string) predicate.Generation
- func MaskImageURLEqualFold(v string) predicate.Generation
- func MaskImageURLGT(v string) predicate.Generation
- func MaskImageURLGTE(v string) predicate.Generation
- func MaskImageURLHasPrefix(v string) predicate.Generation
- func MaskImageURLHasSuffix(v string) predicate.Generation
- func MaskImageURLIn(vs ...string) predicate.Generation
- func MaskImageURLIsNil() predicate.Generation
- func MaskImageURLLT(v string) predicate.Generation
- func MaskImageURLLTE(v string) predicate.Generation
- func MaskImageURLNEQ(v string) predicate.Generation
- func MaskImageURLNotIn(vs ...string) predicate.Generation
- func MaskImageURLNotNil() predicate.Generation
- func ModelID(v uuid.UUID) predicate.Generation
- func ModelIDEQ(v uuid.UUID) predicate.Generation
- func ModelIDIn(vs ...uuid.UUID) predicate.Generation
- func ModelIDNEQ(v uuid.UUID) predicate.Generation
- func ModelIDNotIn(vs ...uuid.UUID) predicate.Generation
- func NegativePromptID(v uuid.UUID) predicate.Generation
- func NegativePromptIDEQ(v uuid.UUID) predicate.Generation
- func NegativePromptIDIn(vs ...uuid.UUID) predicate.Generation
- func NegativePromptIDIsNil() predicate.Generation
- func NegativePromptIDNEQ(v uuid.UUID) predicate.Generation
- func NegativePromptIDNotIn(vs ...uuid.UUID) predicate.Generation
- func NegativePromptIDNotNil() predicate.Generation
- func Not(p predicate.Generation) predicate.Generation
- func NsfwCount(v int32) predicate.Generation
- func NsfwCountEQ(v int32) predicate.Generation
- func NsfwCountGT(v int32) predicate.Generation
- func NsfwCountGTE(v int32) predicate.Generation
- func NsfwCountIn(vs ...int32) predicate.Generation
- func NsfwCountLT(v int32) predicate.Generation
- func NsfwCountLTE(v int32) predicate.Generation
- func NsfwCountNEQ(v int32) predicate.Generation
- func NsfwCountNotIn(vs ...int32) predicate.Generation
- func NumOutputs(v int32) predicate.Generation
- func NumOutputsEQ(v int32) predicate.Generation
- func NumOutputsGT(v int32) predicate.Generation
- func NumOutputsGTE(v int32) predicate.Generation
- func NumOutputsIn(vs ...int32) predicate.Generation
- func NumOutputsLT(v int32) predicate.Generation
- func NumOutputsLTE(v int32) predicate.Generation
- func NumOutputsNEQ(v int32) predicate.Generation
- func NumOutputsNotIn(vs ...int32) predicate.Generation
- func Or(predicates ...predicate.Generation) predicate.Generation
- func PromptID(v uuid.UUID) predicate.Generation
- func PromptIDEQ(v uuid.UUID) predicate.Generation
- func PromptIDIn(vs ...uuid.UUID) predicate.Generation
- func PromptIDIsNil() predicate.Generation
- func PromptIDNEQ(v uuid.UUID) predicate.Generation
- func PromptIDNotIn(vs ...uuid.UUID) predicate.Generation
- func PromptIDNotNil() predicate.Generation
- func PromptStrength(v float32) predicate.Generation
- func PromptStrengthEQ(v float32) predicate.Generation
- func PromptStrengthGT(v float32) predicate.Generation
- func PromptStrengthGTE(v float32) predicate.Generation
- func PromptStrengthIn(vs ...float32) predicate.Generation
- func PromptStrengthIsNil() predicate.Generation
- func PromptStrengthLT(v float32) predicate.Generation
- func PromptStrengthLTE(v float32) predicate.Generation
- func PromptStrengthNEQ(v float32) predicate.Generation
- func PromptStrengthNotIn(vs ...float32) predicate.Generation
- func PromptStrengthNotNil() predicate.Generation
- func SchedulerID(v uuid.UUID) predicate.Generation
- func SchedulerIDEQ(v uuid.UUID) predicate.Generation
- func SchedulerIDIn(vs ...uuid.UUID) predicate.Generation
- func SchedulerIDNEQ(v uuid.UUID) predicate.Generation
- func SchedulerIDNotIn(vs ...uuid.UUID) predicate.Generation
- func Seed(v int) predicate.Generation
- func SeedEQ(v int) predicate.Generation
- func SeedGT(v int) predicate.Generation
- func SeedGTE(v int) predicate.Generation
- func SeedIn(vs ...int) predicate.Generation
- func SeedLT(v int) predicate.Generation
- func SeedLTE(v int) predicate.Generation
- func SeedNEQ(v int) predicate.Generation
- func SeedNotIn(vs ...int) predicate.Generation
- func SourceTypeEQ(v enttypes.SourceType) predicate.Generation
- func SourceTypeIn(vs ...enttypes.SourceType) predicate.Generation
- func SourceTypeNEQ(v enttypes.SourceType) predicate.Generation
- func SourceTypeNotIn(vs ...enttypes.SourceType) predicate.Generation
- func SourceTypeValidator(st enttypes.SourceType) error
- func StartedAt(v time.Time) predicate.Generation
- func StartedAtEQ(v time.Time) predicate.Generation
- func StartedAtGT(v time.Time) predicate.Generation
- func StartedAtGTE(v time.Time) predicate.Generation
- func StartedAtIn(vs ...time.Time) predicate.Generation
- func StartedAtIsNil() predicate.Generation
- func StartedAtLT(v time.Time) predicate.Generation
- func StartedAtLTE(v time.Time) predicate.Generation
- func StartedAtNEQ(v time.Time) predicate.Generation
- func StartedAtNotIn(vs ...time.Time) predicate.Generation
- func StartedAtNotNil() predicate.Generation
- func StatusEQ(v Status) predicate.Generation
- func StatusIn(vs ...Status) predicate.Generation
- func StatusNEQ(v Status) predicate.Generation
- func StatusNotIn(vs ...Status) predicate.Generation
- func StatusValidator(s Status) error
- func StripeProductID(v string) predicate.Generation
- func StripeProductIDContains(v string) predicate.Generation
- func StripeProductIDContainsFold(v string) predicate.Generation
- func StripeProductIDEQ(v string) predicate.Generation
- func StripeProductIDEqualFold(v string) predicate.Generation
- func StripeProductIDGT(v string) predicate.Generation
- func StripeProductIDGTE(v string) predicate.Generation
- func StripeProductIDHasPrefix(v string) predicate.Generation
- func StripeProductIDHasSuffix(v string) predicate.Generation
- func StripeProductIDIn(vs ...string) predicate.Generation
- func StripeProductIDIsNil() predicate.Generation
- func StripeProductIDLT(v string) predicate.Generation
- func StripeProductIDLTE(v string) predicate.Generation
- func StripeProductIDNEQ(v string) predicate.Generation
- func StripeProductIDNotIn(vs ...string) predicate.Generation
- func StripeProductIDNotNil() predicate.Generation
- func UpdatedAt(v time.Time) predicate.Generation
- func UpdatedAtEQ(v time.Time) predicate.Generation
- func UpdatedAtGT(v time.Time) predicate.Generation
- func UpdatedAtGTE(v time.Time) predicate.Generation
- func UpdatedAtIn(vs ...time.Time) predicate.Generation
- func UpdatedAtLT(v time.Time) predicate.Generation
- func UpdatedAtLTE(v time.Time) predicate.Generation
- func UpdatedAtNEQ(v time.Time) predicate.Generation
- func UpdatedAtNotIn(vs ...time.Time) predicate.Generation
- func UserID(v uuid.UUID) predicate.Generation
- func UserIDEQ(v uuid.UUID) predicate.Generation
- func UserIDIn(vs ...uuid.UUID) predicate.Generation
- func UserIDNEQ(v uuid.UUID) predicate.Generation
- func UserIDNotIn(vs ...uuid.UUID) predicate.Generation
- func ValidColumn(column string) bool
- func WasAutoSubmitted(v bool) predicate.Generation
- func WasAutoSubmittedEQ(v bool) predicate.Generation
- func WasAutoSubmittedNEQ(v bool) predicate.Generation
- func Width(v int32) predicate.Generation
- func WidthEQ(v int32) predicate.Generation
- func WidthGT(v int32) predicate.Generation
- func WidthGTE(v int32) predicate.Generation
- func WidthIn(vs ...int32) predicate.Generation
- func WidthLT(v int32) predicate.Generation
- func WidthLTE(v int32) predicate.Generation
- func WidthNEQ(v int32) predicate.Generation
- func WidthNotIn(vs ...int32) predicate.Generation
- type Status
Constants ¶
const ( // Label holds the string label denoting the generation type in the database. Label = "generation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldWidth holds the string denoting the width field in the database. FieldWidth = "width" // FieldHeight holds the string denoting the height field in the database. FieldHeight = "height" // FieldInferenceSteps holds the string denoting the inference_steps field in the database. FieldInferenceSteps = "inference_steps" // FieldGuidanceScale holds the string denoting the guidance_scale field in the database. FieldGuidanceScale = "guidance_scale" // FieldNumOutputs holds the string denoting the num_outputs field in the database. FieldNumOutputs = "num_outputs" // FieldNsfwCount holds the string denoting the nsfw_count field in the database. FieldNsfwCount = "nsfw_count" // FieldSeed holds the string denoting the seed field in the database. FieldSeed = "seed" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldFailureReason holds the string denoting the failure_reason field in the database. FieldFailureReason = "failure_reason" // FieldCountryCode holds the string denoting the country_code field in the database. FieldCountryCode = "country_code" // FieldInitImageURL holds the string denoting the init_image_url field in the database. FieldInitImageURL = "init_image_url" // FieldMaskImageURL holds the string denoting the mask_image_url field in the database. FieldMaskImageURL = "mask_image_url" // FieldPromptStrength holds the string denoting the prompt_strength field in the database. FieldPromptStrength = "prompt_strength" // FieldWasAutoSubmitted holds the string denoting the was_auto_submitted field in the database. FieldWasAutoSubmitted = "was_auto_submitted" // FieldStripeProductID holds the string denoting the stripe_product_id field in the database. FieldStripeProductID = "stripe_product_id" // FieldSourceType holds the string denoting the source_type field in the database. FieldSourceType = "source_type" // FieldPromptID holds the string denoting the prompt_id field in the database. FieldPromptID = "prompt_id" // FieldNegativePromptID holds the string denoting the negative_prompt_id field in the database. FieldNegativePromptID = "negative_prompt_id" // FieldModelID holds the string denoting the model_id field in the database. FieldModelID = "model_id" // FieldSchedulerID holds the string denoting the scheduler_id field in the database. FieldSchedulerID = "scheduler_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldDeviceInfoID holds the string denoting the device_info_id field in the database. FieldDeviceInfoID = "device_info_id" // FieldAPITokenID holds the string denoting the api_token_id field in the database. FieldAPITokenID = "api_token_id" // FieldStartedAt holds the string denoting the started_at field in the database. FieldStartedAt = "started_at" // FieldCompletedAt holds the string denoting the completed_at field in the database. FieldCompletedAt = "completed_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeDeviceInfo holds the string denoting the device_info edge name in mutations. EdgeDeviceInfo = "device_info" // EdgeScheduler holds the string denoting the scheduler edge name in mutations. EdgeScheduler = "scheduler" // EdgePrompt holds the string denoting the prompt edge name in mutations. EdgePrompt = "prompt" // EdgeNegativePrompt holds the string denoting the negative_prompt edge name in mutations. EdgeNegativePrompt = "negative_prompt" // EdgeGenerationModel holds the string denoting the generation_model edge name in mutations. EdgeGenerationModel = "generation_model" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeAPITokens holds the string denoting the api_tokens edge name in mutations. EdgeAPITokens = "api_tokens" // EdgeGenerationOutputs holds the string denoting the generation_outputs edge name in mutations. EdgeGenerationOutputs = "generation_outputs" // Table holds the table name of the generation in the database. Table = "generations" // DeviceInfoTable is the table that holds the device_info relation/edge. DeviceInfoTable = "generations" // DeviceInfoInverseTable is the table name for the DeviceInfo entity. // It exists in this package in order to avoid circular dependency with the "deviceinfo" package. DeviceInfoInverseTable = "device_info" // DeviceInfoColumn is the table column denoting the device_info relation/edge. DeviceInfoColumn = "device_info_id" // SchedulerTable is the table that holds the scheduler relation/edge. SchedulerTable = "generations" // SchedulerInverseTable is the table name for the Scheduler entity. // It exists in this package in order to avoid circular dependency with the "scheduler" package. SchedulerInverseTable = "schedulers" // SchedulerColumn is the table column denoting the scheduler relation/edge. SchedulerColumn = "scheduler_id" // PromptTable is the table that holds the prompt relation/edge. PromptTable = "generations" // PromptInverseTable is the table name for the Prompt entity. // It exists in this package in order to avoid circular dependency with the "prompt" package. PromptInverseTable = "prompts" // PromptColumn is the table column denoting the prompt relation/edge. PromptColumn = "prompt_id" // NegativePromptTable is the table that holds the negative_prompt relation/edge. NegativePromptTable = "generations" // NegativePromptInverseTable is the table name for the NegativePrompt entity. // It exists in this package in order to avoid circular dependency with the "negativeprompt" package. NegativePromptInverseTable = "negative_prompts" // NegativePromptColumn is the table column denoting the negative_prompt relation/edge. NegativePromptColumn = "negative_prompt_id" // GenerationModelTable is the table that holds the generation_model relation/edge. GenerationModelTable = "generations" // GenerationModelInverseTable is the table name for the GenerationModel entity. // It exists in this package in order to avoid circular dependency with the "generationmodel" package. GenerationModelInverseTable = "generation_models" // GenerationModelColumn is the table column denoting the generation_model relation/edge. GenerationModelColumn = "model_id" // UserTable is the table that holds the user relation/edge. UserTable = "generations" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // APITokensTable is the table that holds the api_tokens relation/edge. APITokensTable = "generations" // APITokensInverseTable is the table name for the ApiToken entity. // It exists in this package in order to avoid circular dependency with the "apitoken" package. APITokensInverseTable = "api_tokens" // APITokensColumn is the table column denoting the api_tokens relation/edge. APITokensColumn = "api_token_id" // GenerationOutputsTable is the table that holds the generation_outputs relation/edge. GenerationOutputsTable = "generation_outputs" // GenerationOutputsInverseTable is the table name for the GenerationOutput entity. // It exists in this package in order to avoid circular dependency with the "generationoutput" package. GenerationOutputsInverseTable = "generation_outputs" // GenerationOutputsColumn is the table column denoting the generation_outputs relation/edge. GenerationOutputsColumn = "generation_id" )
const DefaultSourceType enttypes.SourceType = "web-ui"
Variables ¶
var ( // DefaultNsfwCount holds the default value on creation for the "nsfw_count" field. DefaultNsfwCount int32 // DefaultWasAutoSubmitted holds the default value on creation for the "was_auto_submitted" field. DefaultWasAutoSubmitted bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldWidth, FieldHeight, FieldInferenceSteps, FieldGuidanceScale, FieldNumOutputs, FieldNsfwCount, FieldSeed, FieldStatus, FieldFailureReason, FieldCountryCode, FieldInitImageURL, FieldMaskImageURL, FieldPromptStrength, FieldWasAutoSubmitted, FieldStripeProductID, FieldSourceType, FieldPromptID, FieldNegativePromptID, FieldModelID, FieldSchedulerID, FieldUserID, FieldDeviceInfoID, FieldAPITokenID, FieldStartedAt, FieldCompletedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for generation fields.
Functions ¶
func APITokenID ¶
func APITokenID(v uuid.UUID) predicate.Generation
APITokenID applies equality check predicate on the "api_token_id" field. It's identical to APITokenIDEQ.
func APITokenIDEQ ¶
func APITokenIDEQ(v uuid.UUID) predicate.Generation
APITokenIDEQ applies the EQ predicate on the "api_token_id" field.
func APITokenIDIn ¶
func APITokenIDIn(vs ...uuid.UUID) predicate.Generation
APITokenIDIn applies the In predicate on the "api_token_id" field.
func APITokenIDIsNil ¶
func APITokenIDIsNil() predicate.Generation
APITokenIDIsNil applies the IsNil predicate on the "api_token_id" field.
func APITokenIDNEQ ¶
func APITokenIDNEQ(v uuid.UUID) predicate.Generation
APITokenIDNEQ applies the NEQ predicate on the "api_token_id" field.
func APITokenIDNotIn ¶
func APITokenIDNotIn(vs ...uuid.UUID) predicate.Generation
APITokenIDNotIn applies the NotIn predicate on the "api_token_id" field.
func APITokenIDNotNil ¶
func APITokenIDNotNil() predicate.Generation
APITokenIDNotNil applies the NotNil predicate on the "api_token_id" field.
func And ¶
func And(predicates ...predicate.Generation) predicate.Generation
And groups predicates with the AND operator between them.
func CompletedAt ¶
func CompletedAt(v time.Time) predicate.Generation
CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.
func CompletedAtEQ ¶
func CompletedAtEQ(v time.Time) predicate.Generation
CompletedAtEQ applies the EQ predicate on the "completed_at" field.
func CompletedAtGT ¶
func CompletedAtGT(v time.Time) predicate.Generation
CompletedAtGT applies the GT predicate on the "completed_at" field.
func CompletedAtGTE ¶
func CompletedAtGTE(v time.Time) predicate.Generation
CompletedAtGTE applies the GTE predicate on the "completed_at" field.
func CompletedAtIn ¶
func CompletedAtIn(vs ...time.Time) predicate.Generation
CompletedAtIn applies the In predicate on the "completed_at" field.
func CompletedAtIsNil ¶
func CompletedAtIsNil() predicate.Generation
CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.
func CompletedAtLT ¶
func CompletedAtLT(v time.Time) predicate.Generation
CompletedAtLT applies the LT predicate on the "completed_at" field.
func CompletedAtLTE ¶
func CompletedAtLTE(v time.Time) predicate.Generation
CompletedAtLTE applies the LTE predicate on the "completed_at" field.
func CompletedAtNEQ ¶
func CompletedAtNEQ(v time.Time) predicate.Generation
CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.
func CompletedAtNotIn ¶
func CompletedAtNotIn(vs ...time.Time) predicate.Generation
CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.
func CompletedAtNotNil ¶
func CompletedAtNotNil() predicate.Generation
CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.
func CountryCode ¶
func CountryCode(v string) predicate.Generation
CountryCode applies equality check predicate on the "country_code" field. It's identical to CountryCodeEQ.
func CountryCodeContains ¶
func CountryCodeContains(v string) predicate.Generation
CountryCodeContains applies the Contains predicate on the "country_code" field.
func CountryCodeContainsFold ¶
func CountryCodeContainsFold(v string) predicate.Generation
CountryCodeContainsFold applies the ContainsFold predicate on the "country_code" field.
func CountryCodeEQ ¶
func CountryCodeEQ(v string) predicate.Generation
CountryCodeEQ applies the EQ predicate on the "country_code" field.
func CountryCodeEqualFold ¶
func CountryCodeEqualFold(v string) predicate.Generation
CountryCodeEqualFold applies the EqualFold predicate on the "country_code" field.
func CountryCodeGT ¶
func CountryCodeGT(v string) predicate.Generation
CountryCodeGT applies the GT predicate on the "country_code" field.
func CountryCodeGTE ¶
func CountryCodeGTE(v string) predicate.Generation
CountryCodeGTE applies the GTE predicate on the "country_code" field.
func CountryCodeHasPrefix ¶
func CountryCodeHasPrefix(v string) predicate.Generation
CountryCodeHasPrefix applies the HasPrefix predicate on the "country_code" field.
func CountryCodeHasSuffix ¶
func CountryCodeHasSuffix(v string) predicate.Generation
CountryCodeHasSuffix applies the HasSuffix predicate on the "country_code" field.
func CountryCodeIn ¶
func CountryCodeIn(vs ...string) predicate.Generation
CountryCodeIn applies the In predicate on the "country_code" field.
func CountryCodeIsNil ¶
func CountryCodeIsNil() predicate.Generation
CountryCodeIsNil applies the IsNil predicate on the "country_code" field.
func CountryCodeLT ¶
func CountryCodeLT(v string) predicate.Generation
CountryCodeLT applies the LT predicate on the "country_code" field.
func CountryCodeLTE ¶
func CountryCodeLTE(v string) predicate.Generation
CountryCodeLTE applies the LTE predicate on the "country_code" field.
func CountryCodeNEQ ¶
func CountryCodeNEQ(v string) predicate.Generation
CountryCodeNEQ applies the NEQ predicate on the "country_code" field.
func CountryCodeNotIn ¶
func CountryCodeNotIn(vs ...string) predicate.Generation
CountryCodeNotIn applies the NotIn predicate on the "country_code" field.
func CountryCodeNotNil ¶
func CountryCodeNotNil() predicate.Generation
CountryCodeNotNil applies the NotNil predicate on the "country_code" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Generation
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Generation
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Generation
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Generation
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Generation
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Generation
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Generation
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Generation
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Generation
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeviceInfoID ¶
func DeviceInfoID(v uuid.UUID) predicate.Generation
DeviceInfoID applies equality check predicate on the "device_info_id" field. It's identical to DeviceInfoIDEQ.
func DeviceInfoIDEQ ¶
func DeviceInfoIDEQ(v uuid.UUID) predicate.Generation
DeviceInfoIDEQ applies the EQ predicate on the "device_info_id" field.
func DeviceInfoIDIn ¶
func DeviceInfoIDIn(vs ...uuid.UUID) predicate.Generation
DeviceInfoIDIn applies the In predicate on the "device_info_id" field.
func DeviceInfoIDNEQ ¶
func DeviceInfoIDNEQ(v uuid.UUID) predicate.Generation
DeviceInfoIDNEQ applies the NEQ predicate on the "device_info_id" field.
func DeviceInfoIDNotIn ¶
func DeviceInfoIDNotIn(vs ...uuid.UUID) predicate.Generation
DeviceInfoIDNotIn applies the NotIn predicate on the "device_info_id" field.
func FailureReason ¶
func FailureReason(v string) predicate.Generation
FailureReason applies equality check predicate on the "failure_reason" field. It's identical to FailureReasonEQ.
func FailureReasonContains ¶
func FailureReasonContains(v string) predicate.Generation
FailureReasonContains applies the Contains predicate on the "failure_reason" field.
func FailureReasonContainsFold ¶
func FailureReasonContainsFold(v string) predicate.Generation
FailureReasonContainsFold applies the ContainsFold predicate on the "failure_reason" field.
func FailureReasonEQ ¶
func FailureReasonEQ(v string) predicate.Generation
FailureReasonEQ applies the EQ predicate on the "failure_reason" field.
func FailureReasonEqualFold ¶
func FailureReasonEqualFold(v string) predicate.Generation
FailureReasonEqualFold applies the EqualFold predicate on the "failure_reason" field.
func FailureReasonGT ¶
func FailureReasonGT(v string) predicate.Generation
FailureReasonGT applies the GT predicate on the "failure_reason" field.
func FailureReasonGTE ¶
func FailureReasonGTE(v string) predicate.Generation
FailureReasonGTE applies the GTE predicate on the "failure_reason" field.
func FailureReasonHasPrefix ¶
func FailureReasonHasPrefix(v string) predicate.Generation
FailureReasonHasPrefix applies the HasPrefix predicate on the "failure_reason" field.
func FailureReasonHasSuffix ¶
func FailureReasonHasSuffix(v string) predicate.Generation
FailureReasonHasSuffix applies the HasSuffix predicate on the "failure_reason" field.
func FailureReasonIn ¶
func FailureReasonIn(vs ...string) predicate.Generation
FailureReasonIn applies the In predicate on the "failure_reason" field.
func FailureReasonIsNil ¶
func FailureReasonIsNil() predicate.Generation
FailureReasonIsNil applies the IsNil predicate on the "failure_reason" field.
func FailureReasonLT ¶
func FailureReasonLT(v string) predicate.Generation
FailureReasonLT applies the LT predicate on the "failure_reason" field.
func FailureReasonLTE ¶
func FailureReasonLTE(v string) predicate.Generation
FailureReasonLTE applies the LTE predicate on the "failure_reason" field.
func FailureReasonNEQ ¶
func FailureReasonNEQ(v string) predicate.Generation
FailureReasonNEQ applies the NEQ predicate on the "failure_reason" field.
func FailureReasonNotIn ¶
func FailureReasonNotIn(vs ...string) predicate.Generation
FailureReasonNotIn applies the NotIn predicate on the "failure_reason" field.
func FailureReasonNotNil ¶
func FailureReasonNotNil() predicate.Generation
FailureReasonNotNil applies the NotNil predicate on the "failure_reason" field.
func GuidanceScale ¶
func GuidanceScale(v float32) predicate.Generation
GuidanceScale applies equality check predicate on the "guidance_scale" field. It's identical to GuidanceScaleEQ.
func GuidanceScaleEQ ¶
func GuidanceScaleEQ(v float32) predicate.Generation
GuidanceScaleEQ applies the EQ predicate on the "guidance_scale" field.
func GuidanceScaleGT ¶
func GuidanceScaleGT(v float32) predicate.Generation
GuidanceScaleGT applies the GT predicate on the "guidance_scale" field.
func GuidanceScaleGTE ¶
func GuidanceScaleGTE(v float32) predicate.Generation
GuidanceScaleGTE applies the GTE predicate on the "guidance_scale" field.
func GuidanceScaleIn ¶
func GuidanceScaleIn(vs ...float32) predicate.Generation
GuidanceScaleIn applies the In predicate on the "guidance_scale" field.
func GuidanceScaleLT ¶
func GuidanceScaleLT(v float32) predicate.Generation
GuidanceScaleLT applies the LT predicate on the "guidance_scale" field.
func GuidanceScaleLTE ¶
func GuidanceScaleLTE(v float32) predicate.Generation
GuidanceScaleLTE applies the LTE predicate on the "guidance_scale" field.
func GuidanceScaleNEQ ¶
func GuidanceScaleNEQ(v float32) predicate.Generation
GuidanceScaleNEQ applies the NEQ predicate on the "guidance_scale" field.
func GuidanceScaleNotIn ¶
func GuidanceScaleNotIn(vs ...float32) predicate.Generation
GuidanceScaleNotIn applies the NotIn predicate on the "guidance_scale" field.
func HasAPITokens ¶
func HasAPITokens() predicate.Generation
HasAPITokens applies the HasEdge predicate on the "api_tokens" edge.
func HasAPITokensWith ¶
func HasAPITokensWith(preds ...predicate.ApiToken) predicate.Generation
HasAPITokensWith applies the HasEdge predicate on the "api_tokens" edge with a given conditions (other predicates).
func HasDeviceInfo ¶
func HasDeviceInfo() predicate.Generation
HasDeviceInfo applies the HasEdge predicate on the "device_info" edge.
func HasDeviceInfoWith ¶
func HasDeviceInfoWith(preds ...predicate.DeviceInfo) predicate.Generation
HasDeviceInfoWith applies the HasEdge predicate on the "device_info" edge with a given conditions (other predicates).
func HasGenerationModel ¶
func HasGenerationModel() predicate.Generation
HasGenerationModel applies the HasEdge predicate on the "generation_model" edge.
func HasGenerationModelWith ¶
func HasGenerationModelWith(preds ...predicate.GenerationModel) predicate.Generation
HasGenerationModelWith applies the HasEdge predicate on the "generation_model" edge with a given conditions (other predicates).
func HasGenerationOutputs ¶
func HasGenerationOutputs() predicate.Generation
HasGenerationOutputs applies the HasEdge predicate on the "generation_outputs" edge.
func HasGenerationOutputsWith ¶
func HasGenerationOutputsWith(preds ...predicate.GenerationOutput) predicate.Generation
HasGenerationOutputsWith applies the HasEdge predicate on the "generation_outputs" edge with a given conditions (other predicates).
func HasNegativePrompt ¶
func HasNegativePrompt() predicate.Generation
HasNegativePrompt applies the HasEdge predicate on the "negative_prompt" edge.
func HasNegativePromptWith ¶
func HasNegativePromptWith(preds ...predicate.NegativePrompt) predicate.Generation
HasNegativePromptWith applies the HasEdge predicate on the "negative_prompt" edge with a given conditions (other predicates).
func HasPrompt ¶
func HasPrompt() predicate.Generation
HasPrompt applies the HasEdge predicate on the "prompt" edge.
func HasPromptWith ¶
func HasPromptWith(preds ...predicate.Prompt) predicate.Generation
HasPromptWith applies the HasEdge predicate on the "prompt" edge with a given conditions (other predicates).
func HasScheduler ¶
func HasScheduler() predicate.Generation
HasScheduler applies the HasEdge predicate on the "scheduler" edge.
func HasSchedulerWith ¶
func HasSchedulerWith(preds ...predicate.Scheduler) predicate.Generation
HasSchedulerWith applies the HasEdge predicate on the "scheduler" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.Generation
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.Generation
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func Height ¶
func Height(v int32) predicate.Generation
Height applies equality check predicate on the "height" field. It's identical to HeightEQ.
func HeightEQ ¶
func HeightEQ(v int32) predicate.Generation
HeightEQ applies the EQ predicate on the "height" field.
func HeightGT ¶
func HeightGT(v int32) predicate.Generation
HeightGT applies the GT predicate on the "height" field.
func HeightGTE ¶
func HeightGTE(v int32) predicate.Generation
HeightGTE applies the GTE predicate on the "height" field.
func HeightIn ¶
func HeightIn(vs ...int32) predicate.Generation
HeightIn applies the In predicate on the "height" field.
func HeightLT ¶
func HeightLT(v int32) predicate.Generation
HeightLT applies the LT predicate on the "height" field.
func HeightLTE ¶
func HeightLTE(v int32) predicate.Generation
HeightLTE applies the LTE predicate on the "height" field.
func HeightNEQ ¶
func HeightNEQ(v int32) predicate.Generation
HeightNEQ applies the NEQ predicate on the "height" field.
func HeightNotIn ¶
func HeightNotIn(vs ...int32) predicate.Generation
HeightNotIn applies the NotIn predicate on the "height" field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Generation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Generation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Generation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Generation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Generation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Generation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Generation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Generation
IDNotIn applies the NotIn predicate on the ID field.
func InferenceSteps ¶
func InferenceSteps(v int32) predicate.Generation
InferenceSteps applies equality check predicate on the "inference_steps" field. It's identical to InferenceStepsEQ.
func InferenceStepsEQ ¶
func InferenceStepsEQ(v int32) predicate.Generation
InferenceStepsEQ applies the EQ predicate on the "inference_steps" field.
func InferenceStepsGT ¶
func InferenceStepsGT(v int32) predicate.Generation
InferenceStepsGT applies the GT predicate on the "inference_steps" field.
func InferenceStepsGTE ¶
func InferenceStepsGTE(v int32) predicate.Generation
InferenceStepsGTE applies the GTE predicate on the "inference_steps" field.
func InferenceStepsIn ¶
func InferenceStepsIn(vs ...int32) predicate.Generation
InferenceStepsIn applies the In predicate on the "inference_steps" field.
func InferenceStepsLT ¶
func InferenceStepsLT(v int32) predicate.Generation
InferenceStepsLT applies the LT predicate on the "inference_steps" field.
func InferenceStepsLTE ¶
func InferenceStepsLTE(v int32) predicate.Generation
InferenceStepsLTE applies the LTE predicate on the "inference_steps" field.
func InferenceStepsNEQ ¶
func InferenceStepsNEQ(v int32) predicate.Generation
InferenceStepsNEQ applies the NEQ predicate on the "inference_steps" field.
func InferenceStepsNotIn ¶
func InferenceStepsNotIn(vs ...int32) predicate.Generation
InferenceStepsNotIn applies the NotIn predicate on the "inference_steps" field.
func InitImageURL ¶
func InitImageURL(v string) predicate.Generation
InitImageURL applies equality check predicate on the "init_image_url" field. It's identical to InitImageURLEQ.
func InitImageURLContains ¶
func InitImageURLContains(v string) predicate.Generation
InitImageURLContains applies the Contains predicate on the "init_image_url" field.
func InitImageURLContainsFold ¶
func InitImageURLContainsFold(v string) predicate.Generation
InitImageURLContainsFold applies the ContainsFold predicate on the "init_image_url" field.
func InitImageURLEQ ¶
func InitImageURLEQ(v string) predicate.Generation
InitImageURLEQ applies the EQ predicate on the "init_image_url" field.
func InitImageURLEqualFold ¶
func InitImageURLEqualFold(v string) predicate.Generation
InitImageURLEqualFold applies the EqualFold predicate on the "init_image_url" field.
func InitImageURLGT ¶
func InitImageURLGT(v string) predicate.Generation
InitImageURLGT applies the GT predicate on the "init_image_url" field.
func InitImageURLGTE ¶
func InitImageURLGTE(v string) predicate.Generation
InitImageURLGTE applies the GTE predicate on the "init_image_url" field.
func InitImageURLHasPrefix ¶
func InitImageURLHasPrefix(v string) predicate.Generation
InitImageURLHasPrefix applies the HasPrefix predicate on the "init_image_url" field.
func InitImageURLHasSuffix ¶
func InitImageURLHasSuffix(v string) predicate.Generation
InitImageURLHasSuffix applies the HasSuffix predicate on the "init_image_url" field.
func InitImageURLIn ¶
func InitImageURLIn(vs ...string) predicate.Generation
InitImageURLIn applies the In predicate on the "init_image_url" field.
func InitImageURLIsNil ¶
func InitImageURLIsNil() predicate.Generation
InitImageURLIsNil applies the IsNil predicate on the "init_image_url" field.
func InitImageURLLT ¶
func InitImageURLLT(v string) predicate.Generation
InitImageURLLT applies the LT predicate on the "init_image_url" field.
func InitImageURLLTE ¶
func InitImageURLLTE(v string) predicate.Generation
InitImageURLLTE applies the LTE predicate on the "init_image_url" field.
func InitImageURLNEQ ¶
func InitImageURLNEQ(v string) predicate.Generation
InitImageURLNEQ applies the NEQ predicate on the "init_image_url" field.
func InitImageURLNotIn ¶
func InitImageURLNotIn(vs ...string) predicate.Generation
InitImageURLNotIn applies the NotIn predicate on the "init_image_url" field.
func InitImageURLNotNil ¶
func InitImageURLNotNil() predicate.Generation
InitImageURLNotNil applies the NotNil predicate on the "init_image_url" field.
func MaskImageURL ¶
func MaskImageURL(v string) predicate.Generation
MaskImageURL applies equality check predicate on the "mask_image_url" field. It's identical to MaskImageURLEQ.
func MaskImageURLContains ¶
func MaskImageURLContains(v string) predicate.Generation
MaskImageURLContains applies the Contains predicate on the "mask_image_url" field.
func MaskImageURLContainsFold ¶
func MaskImageURLContainsFold(v string) predicate.Generation
MaskImageURLContainsFold applies the ContainsFold predicate on the "mask_image_url" field.
func MaskImageURLEQ ¶
func MaskImageURLEQ(v string) predicate.Generation
MaskImageURLEQ applies the EQ predicate on the "mask_image_url" field.
func MaskImageURLEqualFold ¶
func MaskImageURLEqualFold(v string) predicate.Generation
MaskImageURLEqualFold applies the EqualFold predicate on the "mask_image_url" field.
func MaskImageURLGT ¶
func MaskImageURLGT(v string) predicate.Generation
MaskImageURLGT applies the GT predicate on the "mask_image_url" field.
func MaskImageURLGTE ¶
func MaskImageURLGTE(v string) predicate.Generation
MaskImageURLGTE applies the GTE predicate on the "mask_image_url" field.
func MaskImageURLHasPrefix ¶
func MaskImageURLHasPrefix(v string) predicate.Generation
MaskImageURLHasPrefix applies the HasPrefix predicate on the "mask_image_url" field.
func MaskImageURLHasSuffix ¶
func MaskImageURLHasSuffix(v string) predicate.Generation
MaskImageURLHasSuffix applies the HasSuffix predicate on the "mask_image_url" field.
func MaskImageURLIn ¶
func MaskImageURLIn(vs ...string) predicate.Generation
MaskImageURLIn applies the In predicate on the "mask_image_url" field.
func MaskImageURLIsNil ¶
func MaskImageURLIsNil() predicate.Generation
MaskImageURLIsNil applies the IsNil predicate on the "mask_image_url" field.
func MaskImageURLLT ¶
func MaskImageURLLT(v string) predicate.Generation
MaskImageURLLT applies the LT predicate on the "mask_image_url" field.
func MaskImageURLLTE ¶
func MaskImageURLLTE(v string) predicate.Generation
MaskImageURLLTE applies the LTE predicate on the "mask_image_url" field.
func MaskImageURLNEQ ¶
func MaskImageURLNEQ(v string) predicate.Generation
MaskImageURLNEQ applies the NEQ predicate on the "mask_image_url" field.
func MaskImageURLNotIn ¶
func MaskImageURLNotIn(vs ...string) predicate.Generation
MaskImageURLNotIn applies the NotIn predicate on the "mask_image_url" field.
func MaskImageURLNotNil ¶
func MaskImageURLNotNil() predicate.Generation
MaskImageURLNotNil applies the NotNil predicate on the "mask_image_url" field.
func ModelID ¶
func ModelID(v uuid.UUID) predicate.Generation
ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.
func ModelIDEQ ¶
func ModelIDEQ(v uuid.UUID) predicate.Generation
ModelIDEQ applies the EQ predicate on the "model_id" field.
func ModelIDIn ¶
func ModelIDIn(vs ...uuid.UUID) predicate.Generation
ModelIDIn applies the In predicate on the "model_id" field.
func ModelIDNEQ ¶
func ModelIDNEQ(v uuid.UUID) predicate.Generation
ModelIDNEQ applies the NEQ predicate on the "model_id" field.
func ModelIDNotIn ¶
func ModelIDNotIn(vs ...uuid.UUID) predicate.Generation
ModelIDNotIn applies the NotIn predicate on the "model_id" field.
func NegativePromptID ¶
func NegativePromptID(v uuid.UUID) predicate.Generation
NegativePromptID applies equality check predicate on the "negative_prompt_id" field. It's identical to NegativePromptIDEQ.
func NegativePromptIDEQ ¶
func NegativePromptIDEQ(v uuid.UUID) predicate.Generation
NegativePromptIDEQ applies the EQ predicate on the "negative_prompt_id" field.
func NegativePromptIDIn ¶
func NegativePromptIDIn(vs ...uuid.UUID) predicate.Generation
NegativePromptIDIn applies the In predicate on the "negative_prompt_id" field.
func NegativePromptIDIsNil ¶
func NegativePromptIDIsNil() predicate.Generation
NegativePromptIDIsNil applies the IsNil predicate on the "negative_prompt_id" field.
func NegativePromptIDNEQ ¶
func NegativePromptIDNEQ(v uuid.UUID) predicate.Generation
NegativePromptIDNEQ applies the NEQ predicate on the "negative_prompt_id" field.
func NegativePromptIDNotIn ¶
func NegativePromptIDNotIn(vs ...uuid.UUID) predicate.Generation
NegativePromptIDNotIn applies the NotIn predicate on the "negative_prompt_id" field.
func NegativePromptIDNotNil ¶
func NegativePromptIDNotNil() predicate.Generation
NegativePromptIDNotNil applies the NotNil predicate on the "negative_prompt_id" field.
func Not ¶
func Not(p predicate.Generation) predicate.Generation
Not applies the not operator on the given predicate.
func NsfwCount ¶
func NsfwCount(v int32) predicate.Generation
NsfwCount applies equality check predicate on the "nsfw_count" field. It's identical to NsfwCountEQ.
func NsfwCountEQ ¶
func NsfwCountEQ(v int32) predicate.Generation
NsfwCountEQ applies the EQ predicate on the "nsfw_count" field.
func NsfwCountGT ¶
func NsfwCountGT(v int32) predicate.Generation
NsfwCountGT applies the GT predicate on the "nsfw_count" field.
func NsfwCountGTE ¶
func NsfwCountGTE(v int32) predicate.Generation
NsfwCountGTE applies the GTE predicate on the "nsfw_count" field.
func NsfwCountIn ¶
func NsfwCountIn(vs ...int32) predicate.Generation
NsfwCountIn applies the In predicate on the "nsfw_count" field.
func NsfwCountLT ¶
func NsfwCountLT(v int32) predicate.Generation
NsfwCountLT applies the LT predicate on the "nsfw_count" field.
func NsfwCountLTE ¶
func NsfwCountLTE(v int32) predicate.Generation
NsfwCountLTE applies the LTE predicate on the "nsfw_count" field.
func NsfwCountNEQ ¶
func NsfwCountNEQ(v int32) predicate.Generation
NsfwCountNEQ applies the NEQ predicate on the "nsfw_count" field.
func NsfwCountNotIn ¶
func NsfwCountNotIn(vs ...int32) predicate.Generation
NsfwCountNotIn applies the NotIn predicate on the "nsfw_count" field.
func NumOutputs ¶
func NumOutputs(v int32) predicate.Generation
NumOutputs applies equality check predicate on the "num_outputs" field. It's identical to NumOutputsEQ.
func NumOutputsEQ ¶
func NumOutputsEQ(v int32) predicate.Generation
NumOutputsEQ applies the EQ predicate on the "num_outputs" field.
func NumOutputsGT ¶
func NumOutputsGT(v int32) predicate.Generation
NumOutputsGT applies the GT predicate on the "num_outputs" field.
func NumOutputsGTE ¶
func NumOutputsGTE(v int32) predicate.Generation
NumOutputsGTE applies the GTE predicate on the "num_outputs" field.
func NumOutputsIn ¶
func NumOutputsIn(vs ...int32) predicate.Generation
NumOutputsIn applies the In predicate on the "num_outputs" field.
func NumOutputsLT ¶
func NumOutputsLT(v int32) predicate.Generation
NumOutputsLT applies the LT predicate on the "num_outputs" field.
func NumOutputsLTE ¶
func NumOutputsLTE(v int32) predicate.Generation
NumOutputsLTE applies the LTE predicate on the "num_outputs" field.
func NumOutputsNEQ ¶
func NumOutputsNEQ(v int32) predicate.Generation
NumOutputsNEQ applies the NEQ predicate on the "num_outputs" field.
func NumOutputsNotIn ¶
func NumOutputsNotIn(vs ...int32) predicate.Generation
NumOutputsNotIn applies the NotIn predicate on the "num_outputs" field.
func Or ¶
func Or(predicates ...predicate.Generation) predicate.Generation
Or groups predicates with the OR operator between them.
func PromptID ¶
func PromptID(v uuid.UUID) predicate.Generation
PromptID applies equality check predicate on the "prompt_id" field. It's identical to PromptIDEQ.
func PromptIDEQ ¶
func PromptIDEQ(v uuid.UUID) predicate.Generation
PromptIDEQ applies the EQ predicate on the "prompt_id" field.
func PromptIDIn ¶
func PromptIDIn(vs ...uuid.UUID) predicate.Generation
PromptIDIn applies the In predicate on the "prompt_id" field.
func PromptIDIsNil ¶
func PromptIDIsNil() predicate.Generation
PromptIDIsNil applies the IsNil predicate on the "prompt_id" field.
func PromptIDNEQ ¶
func PromptIDNEQ(v uuid.UUID) predicate.Generation
PromptIDNEQ applies the NEQ predicate on the "prompt_id" field.
func PromptIDNotIn ¶
func PromptIDNotIn(vs ...uuid.UUID) predicate.Generation
PromptIDNotIn applies the NotIn predicate on the "prompt_id" field.
func PromptIDNotNil ¶
func PromptIDNotNil() predicate.Generation
PromptIDNotNil applies the NotNil predicate on the "prompt_id" field.
func PromptStrength ¶
func PromptStrength(v float32) predicate.Generation
PromptStrength applies equality check predicate on the "prompt_strength" field. It's identical to PromptStrengthEQ.
func PromptStrengthEQ ¶
func PromptStrengthEQ(v float32) predicate.Generation
PromptStrengthEQ applies the EQ predicate on the "prompt_strength" field.
func PromptStrengthGT ¶
func PromptStrengthGT(v float32) predicate.Generation
PromptStrengthGT applies the GT predicate on the "prompt_strength" field.
func PromptStrengthGTE ¶
func PromptStrengthGTE(v float32) predicate.Generation
PromptStrengthGTE applies the GTE predicate on the "prompt_strength" field.
func PromptStrengthIn ¶
func PromptStrengthIn(vs ...float32) predicate.Generation
PromptStrengthIn applies the In predicate on the "prompt_strength" field.
func PromptStrengthIsNil ¶
func PromptStrengthIsNil() predicate.Generation
PromptStrengthIsNil applies the IsNil predicate on the "prompt_strength" field.
func PromptStrengthLT ¶
func PromptStrengthLT(v float32) predicate.Generation
PromptStrengthLT applies the LT predicate on the "prompt_strength" field.
func PromptStrengthLTE ¶
func PromptStrengthLTE(v float32) predicate.Generation
PromptStrengthLTE applies the LTE predicate on the "prompt_strength" field.
func PromptStrengthNEQ ¶
func PromptStrengthNEQ(v float32) predicate.Generation
PromptStrengthNEQ applies the NEQ predicate on the "prompt_strength" field.
func PromptStrengthNotIn ¶
func PromptStrengthNotIn(vs ...float32) predicate.Generation
PromptStrengthNotIn applies the NotIn predicate on the "prompt_strength" field.
func PromptStrengthNotNil ¶
func PromptStrengthNotNil() predicate.Generation
PromptStrengthNotNil applies the NotNil predicate on the "prompt_strength" field.
func SchedulerID ¶
func SchedulerID(v uuid.UUID) predicate.Generation
SchedulerID applies equality check predicate on the "scheduler_id" field. It's identical to SchedulerIDEQ.
func SchedulerIDEQ ¶
func SchedulerIDEQ(v uuid.UUID) predicate.Generation
SchedulerIDEQ applies the EQ predicate on the "scheduler_id" field.
func SchedulerIDIn ¶
func SchedulerIDIn(vs ...uuid.UUID) predicate.Generation
SchedulerIDIn applies the In predicate on the "scheduler_id" field.
func SchedulerIDNEQ ¶
func SchedulerIDNEQ(v uuid.UUID) predicate.Generation
SchedulerIDNEQ applies the NEQ predicate on the "scheduler_id" field.
func SchedulerIDNotIn ¶
func SchedulerIDNotIn(vs ...uuid.UUID) predicate.Generation
SchedulerIDNotIn applies the NotIn predicate on the "scheduler_id" field.
func Seed ¶
func Seed(v int) predicate.Generation
Seed applies equality check predicate on the "seed" field. It's identical to SeedEQ.
func SeedEQ ¶
func SeedEQ(v int) predicate.Generation
SeedEQ applies the EQ predicate on the "seed" field.
func SeedGT ¶
func SeedGT(v int) predicate.Generation
SeedGT applies the GT predicate on the "seed" field.
func SeedGTE ¶
func SeedGTE(v int) predicate.Generation
SeedGTE applies the GTE predicate on the "seed" field.
func SeedIn ¶
func SeedIn(vs ...int) predicate.Generation
SeedIn applies the In predicate on the "seed" field.
func SeedLT ¶
func SeedLT(v int) predicate.Generation
SeedLT applies the LT predicate on the "seed" field.
func SeedLTE ¶
func SeedLTE(v int) predicate.Generation
SeedLTE applies the LTE predicate on the "seed" field.
func SeedNEQ ¶
func SeedNEQ(v int) predicate.Generation
SeedNEQ applies the NEQ predicate on the "seed" field.
func SeedNotIn ¶
func SeedNotIn(vs ...int) predicate.Generation
SeedNotIn applies the NotIn predicate on the "seed" field.
func SourceTypeEQ ¶
func SourceTypeEQ(v enttypes.SourceType) predicate.Generation
SourceTypeEQ applies the EQ predicate on the "source_type" field.
func SourceTypeIn ¶
func SourceTypeIn(vs ...enttypes.SourceType) predicate.Generation
SourceTypeIn applies the In predicate on the "source_type" field.
func SourceTypeNEQ ¶
func SourceTypeNEQ(v enttypes.SourceType) predicate.Generation
SourceTypeNEQ applies the NEQ predicate on the "source_type" field.
func SourceTypeNotIn ¶
func SourceTypeNotIn(vs ...enttypes.SourceType) predicate.Generation
SourceTypeNotIn applies the NotIn predicate on the "source_type" field.
func SourceTypeValidator ¶
func SourceTypeValidator(st enttypes.SourceType) error
SourceTypeValidator is a validator for the "source_type" field enum values. It is called by the builders before save.
func StartedAt ¶
func StartedAt(v time.Time) predicate.Generation
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
func StartedAtEQ(v time.Time) predicate.Generation
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
func StartedAtGT(v time.Time) predicate.Generation
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
func StartedAtGTE(v time.Time) predicate.Generation
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
func StartedAtIn(vs ...time.Time) predicate.Generation
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtIsNil ¶
func StartedAtIsNil() predicate.Generation
StartedAtIsNil applies the IsNil predicate on the "started_at" field.
func StartedAtLT ¶
func StartedAtLT(v time.Time) predicate.Generation
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
func StartedAtLTE(v time.Time) predicate.Generation
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
func StartedAtNEQ(v time.Time) predicate.Generation
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
func StartedAtNotIn ¶
func StartedAtNotIn(vs ...time.Time) predicate.Generation
StartedAtNotIn applies the NotIn predicate on the "started_at" field.
func StartedAtNotNil ¶
func StartedAtNotNil() predicate.Generation
StartedAtNotNil applies the NotNil predicate on the "started_at" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.Generation
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.Generation
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.Generation
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.Generation
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func StripeProductID ¶
func StripeProductID(v string) predicate.Generation
StripeProductID applies equality check predicate on the "stripe_product_id" field. It's identical to StripeProductIDEQ.
func StripeProductIDContains ¶
func StripeProductIDContains(v string) predicate.Generation
StripeProductIDContains applies the Contains predicate on the "stripe_product_id" field.
func StripeProductIDContainsFold ¶
func StripeProductIDContainsFold(v string) predicate.Generation
StripeProductIDContainsFold applies the ContainsFold predicate on the "stripe_product_id" field.
func StripeProductIDEQ ¶
func StripeProductIDEQ(v string) predicate.Generation
StripeProductIDEQ applies the EQ predicate on the "stripe_product_id" field.
func StripeProductIDEqualFold ¶
func StripeProductIDEqualFold(v string) predicate.Generation
StripeProductIDEqualFold applies the EqualFold predicate on the "stripe_product_id" field.
func StripeProductIDGT ¶
func StripeProductIDGT(v string) predicate.Generation
StripeProductIDGT applies the GT predicate on the "stripe_product_id" field.
func StripeProductIDGTE ¶
func StripeProductIDGTE(v string) predicate.Generation
StripeProductIDGTE applies the GTE predicate on the "stripe_product_id" field.
func StripeProductIDHasPrefix ¶
func StripeProductIDHasPrefix(v string) predicate.Generation
StripeProductIDHasPrefix applies the HasPrefix predicate on the "stripe_product_id" field.
func StripeProductIDHasSuffix ¶
func StripeProductIDHasSuffix(v string) predicate.Generation
StripeProductIDHasSuffix applies the HasSuffix predicate on the "stripe_product_id" field.
func StripeProductIDIn ¶
func StripeProductIDIn(vs ...string) predicate.Generation
StripeProductIDIn applies the In predicate on the "stripe_product_id" field.
func StripeProductIDIsNil ¶
func StripeProductIDIsNil() predicate.Generation
StripeProductIDIsNil applies the IsNil predicate on the "stripe_product_id" field.
func StripeProductIDLT ¶
func StripeProductIDLT(v string) predicate.Generation
StripeProductIDLT applies the LT predicate on the "stripe_product_id" field.
func StripeProductIDLTE ¶
func StripeProductIDLTE(v string) predicate.Generation
StripeProductIDLTE applies the LTE predicate on the "stripe_product_id" field.
func StripeProductIDNEQ ¶
func StripeProductIDNEQ(v string) predicate.Generation
StripeProductIDNEQ applies the NEQ predicate on the "stripe_product_id" field.
func StripeProductIDNotIn ¶
func StripeProductIDNotIn(vs ...string) predicate.Generation
StripeProductIDNotIn applies the NotIn predicate on the "stripe_product_id" field.
func StripeProductIDNotNil ¶
func StripeProductIDNotNil() predicate.Generation
StripeProductIDNotNil applies the NotNil predicate on the "stripe_product_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Generation
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Generation
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Generation
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Generation
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Generation
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Generation
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Generation
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Generation
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Generation
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.Generation
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.Generation
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.Generation
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.Generation
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.Generation
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WasAutoSubmitted ¶
func WasAutoSubmitted(v bool) predicate.Generation
WasAutoSubmitted applies equality check predicate on the "was_auto_submitted" field. It's identical to WasAutoSubmittedEQ.
func WasAutoSubmittedEQ ¶
func WasAutoSubmittedEQ(v bool) predicate.Generation
WasAutoSubmittedEQ applies the EQ predicate on the "was_auto_submitted" field.
func WasAutoSubmittedNEQ ¶
func WasAutoSubmittedNEQ(v bool) predicate.Generation
WasAutoSubmittedNEQ applies the NEQ predicate on the "was_auto_submitted" field.
func Width ¶
func Width(v int32) predicate.Generation
Width applies equality check predicate on the "width" field. It's identical to WidthEQ.
func WidthEQ ¶
func WidthEQ(v int32) predicate.Generation
WidthEQ applies the EQ predicate on the "width" field.
func WidthGT ¶
func WidthGT(v int32) predicate.Generation
WidthGT applies the GT predicate on the "width" field.
func WidthGTE ¶
func WidthGTE(v int32) predicate.Generation
WidthGTE applies the GTE predicate on the "width" field.
func WidthIn ¶
func WidthIn(vs ...int32) predicate.Generation
WidthIn applies the In predicate on the "width" field.
func WidthLT ¶
func WidthLT(v int32) predicate.Generation
WidthLT applies the LT predicate on the "width" field.
func WidthLTE ¶
func WidthLTE(v int32) predicate.Generation
WidthLTE applies the LTE predicate on the "width" field.
func WidthNEQ ¶
func WidthNEQ(v int32) predicate.Generation
WidthNEQ applies the NEQ predicate on the "width" field.
func WidthNotIn ¶
func WidthNotIn(vs ...int32) predicate.Generation
WidthNotIn applies the NotIn predicate on the "width" field.