upscale

package
v0.0.0-...-bfbcaf2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the upscale type in the database.
	Label = "upscale"
	// 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"
	// FieldScale holds the string denoting the scale field in the database.
	FieldScale = "scale"
	// FieldCountryCode holds the string denoting the country_code field in the database.
	FieldCountryCode = "country_code"
	// 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"
	// FieldStripeProductID holds the string denoting the stripe_product_id field in the database.
	FieldStripeProductID = "stripe_product_id"
	// FieldSystemGenerated holds the string denoting the system_generated field in the database.
	FieldSystemGenerated = "system_generated"
	// FieldSourceType holds the string denoting the source_type field in the database.
	FieldSourceType = "source_type"
	// 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"
	// FieldModelID holds the string denoting the model_id field in the database.
	FieldModelID = "model_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"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeDeviceInfo holds the string denoting the device_info edge name in mutations.
	EdgeDeviceInfo = "device_info"
	// EdgeUpscaleModels holds the string denoting the upscale_models edge name in mutations.
	EdgeUpscaleModels = "upscale_models"
	// EdgeAPITokens holds the string denoting the api_tokens edge name in mutations.
	EdgeAPITokens = "api_tokens"
	// EdgeUpscaleOutputs holds the string denoting the upscale_outputs edge name in mutations.
	EdgeUpscaleOutputs = "upscale_outputs"
	// Table holds the table name of the upscale in the database.
	Table = "upscales"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "upscales"
	// 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"
	// DeviceInfoTable is the table that holds the device_info relation/edge.
	DeviceInfoTable = "upscales"
	// 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"
	// UpscaleModelsTable is the table that holds the upscale_models relation/edge.
	UpscaleModelsTable = "upscales"
	// UpscaleModelsInverseTable is the table name for the UpscaleModel entity.
	// It exists in this package in order to avoid circular dependency with the "upscalemodel" package.
	UpscaleModelsInverseTable = "upscale_models"
	// UpscaleModelsColumn is the table column denoting the upscale_models relation/edge.
	UpscaleModelsColumn = "model_id"
	// APITokensTable is the table that holds the api_tokens relation/edge.
	APITokensTable = "upscales"
	// 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"
	// UpscaleOutputsTable is the table that holds the upscale_outputs relation/edge.
	UpscaleOutputsTable = "upscale_outputs"
	// UpscaleOutputsInverseTable is the table name for the UpscaleOutput entity.
	// It exists in this package in order to avoid circular dependency with the "upscaleoutput" package.
	UpscaleOutputsInverseTable = "upscale_outputs"
	// UpscaleOutputsColumn is the table column denoting the upscale_outputs relation/edge.
	UpscaleOutputsColumn = "upscale_id"
)
View Source
const DefaultSourceType enttypes.SourceType = "web-ui"

Variables

View Source
var (
	// DefaultSystemGenerated holds the default value on creation for the "system_generated" field.
	DefaultSystemGenerated 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
)

Columns holds all SQL columns for upscale fields.

Functions

func APITokenID

func APITokenID(v uuid.UUID) predicate.Upscale

APITokenID applies equality check predicate on the "api_token_id" field. It's identical to APITokenIDEQ.

func APITokenIDEQ

func APITokenIDEQ(v uuid.UUID) predicate.Upscale

APITokenIDEQ applies the EQ predicate on the "api_token_id" field.

func APITokenIDIn

func APITokenIDIn(vs ...uuid.UUID) predicate.Upscale

APITokenIDIn applies the In predicate on the "api_token_id" field.

func APITokenIDIsNil

func APITokenIDIsNil() predicate.Upscale

APITokenIDIsNil applies the IsNil predicate on the "api_token_id" field.

func APITokenIDNEQ

func APITokenIDNEQ(v uuid.UUID) predicate.Upscale

APITokenIDNEQ applies the NEQ predicate on the "api_token_id" field.

func APITokenIDNotIn

func APITokenIDNotIn(vs ...uuid.UUID) predicate.Upscale

APITokenIDNotIn applies the NotIn predicate on the "api_token_id" field.

func APITokenIDNotNil

func APITokenIDNotNil() predicate.Upscale

APITokenIDNotNil applies the NotNil predicate on the "api_token_id" field.

func And

func And(predicates ...predicate.Upscale) predicate.Upscale

And groups predicates with the AND operator between them.

func CompletedAt

func CompletedAt(v time.Time) predicate.Upscale

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.Upscale

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.Upscale

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.Upscale

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.Upscale

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.Upscale

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.Upscale

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.Upscale

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.Upscale

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.Upscale

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.Upscale

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func CountryCode

func CountryCode(v string) predicate.Upscale

CountryCode applies equality check predicate on the "country_code" field. It's identical to CountryCodeEQ.

func CountryCodeContains

func CountryCodeContains(v string) predicate.Upscale

CountryCodeContains applies the Contains predicate on the "country_code" field.

func CountryCodeContainsFold

func CountryCodeContainsFold(v string) predicate.Upscale

CountryCodeContainsFold applies the ContainsFold predicate on the "country_code" field.

func CountryCodeEQ

func CountryCodeEQ(v string) predicate.Upscale

CountryCodeEQ applies the EQ predicate on the "country_code" field.

func CountryCodeEqualFold

func CountryCodeEqualFold(v string) predicate.Upscale

CountryCodeEqualFold applies the EqualFold predicate on the "country_code" field.

func CountryCodeGT

func CountryCodeGT(v string) predicate.Upscale

CountryCodeGT applies the GT predicate on the "country_code" field.

func CountryCodeGTE

func CountryCodeGTE(v string) predicate.Upscale

CountryCodeGTE applies the GTE predicate on the "country_code" field.

func CountryCodeHasPrefix

func CountryCodeHasPrefix(v string) predicate.Upscale

CountryCodeHasPrefix applies the HasPrefix predicate on the "country_code" field.

func CountryCodeHasSuffix

func CountryCodeHasSuffix(v string) predicate.Upscale

CountryCodeHasSuffix applies the HasSuffix predicate on the "country_code" field.

func CountryCodeIn

func CountryCodeIn(vs ...string) predicate.Upscale

CountryCodeIn applies the In predicate on the "country_code" field.

func CountryCodeIsNil

func CountryCodeIsNil() predicate.Upscale

CountryCodeIsNil applies the IsNil predicate on the "country_code" field.

func CountryCodeLT

func CountryCodeLT(v string) predicate.Upscale

CountryCodeLT applies the LT predicate on the "country_code" field.

func CountryCodeLTE

func CountryCodeLTE(v string) predicate.Upscale

CountryCodeLTE applies the LTE predicate on the "country_code" field.

func CountryCodeNEQ

func CountryCodeNEQ(v string) predicate.Upscale

CountryCodeNEQ applies the NEQ predicate on the "country_code" field.

func CountryCodeNotIn

func CountryCodeNotIn(vs ...string) predicate.Upscale

CountryCodeNotIn applies the NotIn predicate on the "country_code" field.

func CountryCodeNotNil

func CountryCodeNotNil() predicate.Upscale

CountryCodeNotNil applies the NotNil predicate on the "country_code" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Upscale

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Upscale

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Upscale

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Upscale

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Upscale

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Upscale

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Upscale

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

func CreatedAtNotIn

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

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

func DeviceInfoID

func DeviceInfoID(v uuid.UUID) predicate.Upscale

DeviceInfoID applies equality check predicate on the "device_info_id" field. It's identical to DeviceInfoIDEQ.

func DeviceInfoIDEQ

func DeviceInfoIDEQ(v uuid.UUID) predicate.Upscale

DeviceInfoIDEQ applies the EQ predicate on the "device_info_id" field.

func DeviceInfoIDIn

func DeviceInfoIDIn(vs ...uuid.UUID) predicate.Upscale

DeviceInfoIDIn applies the In predicate on the "device_info_id" field.

func DeviceInfoIDNEQ

func DeviceInfoIDNEQ(v uuid.UUID) predicate.Upscale

DeviceInfoIDNEQ applies the NEQ predicate on the "device_info_id" field.

func DeviceInfoIDNotIn

func DeviceInfoIDNotIn(vs ...uuid.UUID) predicate.Upscale

DeviceInfoIDNotIn applies the NotIn predicate on the "device_info_id" field.

func FailureReason

func FailureReason(v string) predicate.Upscale

FailureReason applies equality check predicate on the "failure_reason" field. It's identical to FailureReasonEQ.

func FailureReasonContains

func FailureReasonContains(v string) predicate.Upscale

FailureReasonContains applies the Contains predicate on the "failure_reason" field.

func FailureReasonContainsFold

func FailureReasonContainsFold(v string) predicate.Upscale

FailureReasonContainsFold applies the ContainsFold predicate on the "failure_reason" field.

func FailureReasonEQ

func FailureReasonEQ(v string) predicate.Upscale

FailureReasonEQ applies the EQ predicate on the "failure_reason" field.

func FailureReasonEqualFold

func FailureReasonEqualFold(v string) predicate.Upscale

FailureReasonEqualFold applies the EqualFold predicate on the "failure_reason" field.

func FailureReasonGT

func FailureReasonGT(v string) predicate.Upscale

FailureReasonGT applies the GT predicate on the "failure_reason" field.

func FailureReasonGTE

func FailureReasonGTE(v string) predicate.Upscale

FailureReasonGTE applies the GTE predicate on the "failure_reason" field.

func FailureReasonHasPrefix

func FailureReasonHasPrefix(v string) predicate.Upscale

FailureReasonHasPrefix applies the HasPrefix predicate on the "failure_reason" field.

func FailureReasonHasSuffix

func FailureReasonHasSuffix(v string) predicate.Upscale

FailureReasonHasSuffix applies the HasSuffix predicate on the "failure_reason" field.

func FailureReasonIn

func FailureReasonIn(vs ...string) predicate.Upscale

FailureReasonIn applies the In predicate on the "failure_reason" field.

func FailureReasonIsNil

func FailureReasonIsNil() predicate.Upscale

FailureReasonIsNil applies the IsNil predicate on the "failure_reason" field.

func FailureReasonLT

func FailureReasonLT(v string) predicate.Upscale

FailureReasonLT applies the LT predicate on the "failure_reason" field.

func FailureReasonLTE

func FailureReasonLTE(v string) predicate.Upscale

FailureReasonLTE applies the LTE predicate on the "failure_reason" field.

func FailureReasonNEQ

func FailureReasonNEQ(v string) predicate.Upscale

FailureReasonNEQ applies the NEQ predicate on the "failure_reason" field.

func FailureReasonNotIn

func FailureReasonNotIn(vs ...string) predicate.Upscale

FailureReasonNotIn applies the NotIn predicate on the "failure_reason" field.

func FailureReasonNotNil

func FailureReasonNotNil() predicate.Upscale

FailureReasonNotNil applies the NotNil predicate on the "failure_reason" field.

func HasAPITokens

func HasAPITokens() predicate.Upscale

HasAPITokens applies the HasEdge predicate on the "api_tokens" edge.

func HasAPITokensWith

func HasAPITokensWith(preds ...predicate.ApiToken) predicate.Upscale

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

func HasDeviceInfo

func HasDeviceInfo() predicate.Upscale

HasDeviceInfo applies the HasEdge predicate on the "device_info" edge.

func HasDeviceInfoWith

func HasDeviceInfoWith(preds ...predicate.DeviceInfo) predicate.Upscale

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

func HasUpscaleModels

func HasUpscaleModels() predicate.Upscale

HasUpscaleModels applies the HasEdge predicate on the "upscale_models" edge.

func HasUpscaleModelsWith

func HasUpscaleModelsWith(preds ...predicate.UpscaleModel) predicate.Upscale

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

func HasUpscaleOutputs

func HasUpscaleOutputs() predicate.Upscale

HasUpscaleOutputs applies the HasEdge predicate on the "upscale_outputs" edge.

func HasUpscaleOutputsWith

func HasUpscaleOutputsWith(preds ...predicate.UpscaleOutput) predicate.Upscale

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

func HasUser

func HasUser() predicate.Upscale

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Upscale

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

func Height

func Height(v int32) predicate.Upscale

Height applies equality check predicate on the "height" field. It's identical to HeightEQ.

func HeightEQ

func HeightEQ(v int32) predicate.Upscale

HeightEQ applies the EQ predicate on the "height" field.

func HeightGT

func HeightGT(v int32) predicate.Upscale

HeightGT applies the GT predicate on the "height" field.

func HeightGTE

func HeightGTE(v int32) predicate.Upscale

HeightGTE applies the GTE predicate on the "height" field.

func HeightIn

func HeightIn(vs ...int32) predicate.Upscale

HeightIn applies the In predicate on the "height" field.

func HeightLT

func HeightLT(v int32) predicate.Upscale

HeightLT applies the LT predicate on the "height" field.

func HeightLTE

func HeightLTE(v int32) predicate.Upscale

HeightLTE applies the LTE predicate on the "height" field.

func HeightNEQ

func HeightNEQ(v int32) predicate.Upscale

HeightNEQ applies the NEQ predicate on the "height" field.

func HeightNotIn

func HeightNotIn(vs ...int32) predicate.Upscale

HeightNotIn applies the NotIn predicate on the "height" field.

func ID

func ID(id uuid.UUID) predicate.Upscale

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Upscale

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Upscale

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Upscale

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Upscale

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Upscale

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Upscale

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ModelID

func ModelID(v uuid.UUID) predicate.Upscale

ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.

func ModelIDEQ

func ModelIDEQ(v uuid.UUID) predicate.Upscale

ModelIDEQ applies the EQ predicate on the "model_id" field.

func ModelIDIn

func ModelIDIn(vs ...uuid.UUID) predicate.Upscale

ModelIDIn applies the In predicate on the "model_id" field.

func ModelIDNEQ

func ModelIDNEQ(v uuid.UUID) predicate.Upscale

ModelIDNEQ applies the NEQ predicate on the "model_id" field.

func ModelIDNotIn

func ModelIDNotIn(vs ...uuid.UUID) predicate.Upscale

ModelIDNotIn applies the NotIn predicate on the "model_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Upscale) predicate.Upscale

Or groups predicates with the OR operator between them.

func Scale

func Scale(v int32) predicate.Upscale

Scale applies equality check predicate on the "scale" field. It's identical to ScaleEQ.

func ScaleEQ

func ScaleEQ(v int32) predicate.Upscale

ScaleEQ applies the EQ predicate on the "scale" field.

func ScaleGT

func ScaleGT(v int32) predicate.Upscale

ScaleGT applies the GT predicate on the "scale" field.

func ScaleGTE

func ScaleGTE(v int32) predicate.Upscale

ScaleGTE applies the GTE predicate on the "scale" field.

func ScaleIn

func ScaleIn(vs ...int32) predicate.Upscale

ScaleIn applies the In predicate on the "scale" field.

func ScaleLT

func ScaleLT(v int32) predicate.Upscale

ScaleLT applies the LT predicate on the "scale" field.

func ScaleLTE

func ScaleLTE(v int32) predicate.Upscale

ScaleLTE applies the LTE predicate on the "scale" field.

func ScaleNEQ

func ScaleNEQ(v int32) predicate.Upscale

ScaleNEQ applies the NEQ predicate on the "scale" field.

func ScaleNotIn

func ScaleNotIn(vs ...int32) predicate.Upscale

ScaleNotIn applies the NotIn predicate on the "scale" field.

func SourceTypeEQ

func SourceTypeEQ(v enttypes.SourceType) predicate.Upscale

SourceTypeEQ applies the EQ predicate on the "source_type" field.

func SourceTypeIn

func SourceTypeIn(vs ...enttypes.SourceType) predicate.Upscale

SourceTypeIn applies the In predicate on the "source_type" field.

func SourceTypeNEQ

func SourceTypeNEQ(v enttypes.SourceType) predicate.Upscale

SourceTypeNEQ applies the NEQ predicate on the "source_type" field.

func SourceTypeNotIn

func SourceTypeNotIn(vs ...enttypes.SourceType) predicate.Upscale

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.Upscale

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.Upscale

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.Upscale

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.Upscale

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.Upscale

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtIsNil

func StartedAtIsNil() predicate.Upscale

StartedAtIsNil applies the IsNil predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.Upscale

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.Upscale

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.Upscale

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.Upscale

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StartedAtNotNil

func StartedAtNotNil() predicate.Upscale

StartedAtNotNil applies the NotNil predicate on the "started_at" field.

func StatusEQ

func StatusEQ(v Status) predicate.Upscale

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.Upscale

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.Upscale

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.Upscale

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

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.Upscale

StripeProductID applies equality check predicate on the "stripe_product_id" field. It's identical to StripeProductIDEQ.

func StripeProductIDContains

func StripeProductIDContains(v string) predicate.Upscale

StripeProductIDContains applies the Contains predicate on the "stripe_product_id" field.

func StripeProductIDContainsFold

func StripeProductIDContainsFold(v string) predicate.Upscale

StripeProductIDContainsFold applies the ContainsFold predicate on the "stripe_product_id" field.

func StripeProductIDEQ

func StripeProductIDEQ(v string) predicate.Upscale

StripeProductIDEQ applies the EQ predicate on the "stripe_product_id" field.

func StripeProductIDEqualFold

func StripeProductIDEqualFold(v string) predicate.Upscale

StripeProductIDEqualFold applies the EqualFold predicate on the "stripe_product_id" field.

func StripeProductIDGT

func StripeProductIDGT(v string) predicate.Upscale

StripeProductIDGT applies the GT predicate on the "stripe_product_id" field.

func StripeProductIDGTE

func StripeProductIDGTE(v string) predicate.Upscale

StripeProductIDGTE applies the GTE predicate on the "stripe_product_id" field.

func StripeProductIDHasPrefix

func StripeProductIDHasPrefix(v string) predicate.Upscale

StripeProductIDHasPrefix applies the HasPrefix predicate on the "stripe_product_id" field.

func StripeProductIDHasSuffix

func StripeProductIDHasSuffix(v string) predicate.Upscale

StripeProductIDHasSuffix applies the HasSuffix predicate on the "stripe_product_id" field.

func StripeProductIDIn

func StripeProductIDIn(vs ...string) predicate.Upscale

StripeProductIDIn applies the In predicate on the "stripe_product_id" field.

func StripeProductIDIsNil

func StripeProductIDIsNil() predicate.Upscale

StripeProductIDIsNil applies the IsNil predicate on the "stripe_product_id" field.

func StripeProductIDLT

func StripeProductIDLT(v string) predicate.Upscale

StripeProductIDLT applies the LT predicate on the "stripe_product_id" field.

func StripeProductIDLTE

func StripeProductIDLTE(v string) predicate.Upscale

StripeProductIDLTE applies the LTE predicate on the "stripe_product_id" field.

func StripeProductIDNEQ

func StripeProductIDNEQ(v string) predicate.Upscale

StripeProductIDNEQ applies the NEQ predicate on the "stripe_product_id" field.

func StripeProductIDNotIn

func StripeProductIDNotIn(vs ...string) predicate.Upscale

StripeProductIDNotIn applies the NotIn predicate on the "stripe_product_id" field.

func StripeProductIDNotNil

func StripeProductIDNotNil() predicate.Upscale

StripeProductIDNotNil applies the NotNil predicate on the "stripe_product_id" field.

func SystemGenerated

func SystemGenerated(v bool) predicate.Upscale

SystemGenerated applies equality check predicate on the "system_generated" field. It's identical to SystemGeneratedEQ.

func SystemGeneratedEQ

func SystemGeneratedEQ(v bool) predicate.Upscale

SystemGeneratedEQ applies the EQ predicate on the "system_generated" field.

func SystemGeneratedNEQ

func SystemGeneratedNEQ(v bool) predicate.Upscale

SystemGeneratedNEQ applies the NEQ predicate on the "system_generated" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Upscale

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Upscale

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Upscale

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Upscale

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Upscale

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Upscale

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Upscale

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserID

func UserID(v uuid.UUID) predicate.Upscale

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uuid.UUID) predicate.Upscale

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uuid.UUID) predicate.Upscale

UserIDIn applies the In predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uuid.UUID) predicate.Upscale

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uuid.UUID) predicate.Upscale

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Width

func Width(v int32) predicate.Upscale

Width applies equality check predicate on the "width" field. It's identical to WidthEQ.

func WidthEQ

func WidthEQ(v int32) predicate.Upscale

WidthEQ applies the EQ predicate on the "width" field.

func WidthGT

func WidthGT(v int32) predicate.Upscale

WidthGT applies the GT predicate on the "width" field.

func WidthGTE

func WidthGTE(v int32) predicate.Upscale

WidthGTE applies the GTE predicate on the "width" field.

func WidthIn

func WidthIn(vs ...int32) predicate.Upscale

WidthIn applies the In predicate on the "width" field.

func WidthLT

func WidthLT(v int32) predicate.Upscale

WidthLT applies the LT predicate on the "width" field.

func WidthLTE

func WidthLTE(v int32) predicate.Upscale

WidthLTE applies the LTE predicate on the "width" field.

func WidthNEQ

func WidthNEQ(v int32) predicate.Upscale

WidthNEQ applies the NEQ predicate on the "width" field.

func WidthNotIn

func WidthNotIn(vs ...int32) predicate.Upscale

WidthNotIn applies the NotIn predicate on the "width" field.

Types

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusQueued    Status = "queued"
	StatusStarted   Status = "started"
	StatusSucceeded Status = "succeeded"
	StatusFailed    Status = "failed"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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