upscaleoutput

package
v0.0.0-...-d236baf Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the upscaleoutput type in the database.
	Label = "upscale_output"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldImagePath holds the string denoting the image_path field in the database.
	FieldImagePath = "image_path"
	// FieldInputImageURL holds the string denoting the input_image_url field in the database.
	FieldInputImageURL = "input_image_url"
	// FieldUpscaleID holds the string denoting the upscale_id field in the database.
	FieldUpscaleID = "upscale_id"
	// FieldGenerationOutputID holds the string denoting the generation_output_id field in the database.
	FieldGenerationOutputID = "generation_output_id"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_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"
	// EdgeUpscales holds the string denoting the upscales edge name in mutations.
	EdgeUpscales = "upscales"
	// EdgeGenerationOutput holds the string denoting the generation_output edge name in mutations.
	EdgeGenerationOutput = "generation_output"
	// Table holds the table name of the upscaleoutput in the database.
	Table = "upscale_outputs"
	// UpscalesTable is the table that holds the upscales relation/edge.
	UpscalesTable = "upscale_outputs"
	// UpscalesInverseTable is the table name for the Upscale entity.
	// It exists in this package in order to avoid circular dependency with the "upscale" package.
	UpscalesInverseTable = "upscales"
	// UpscalesColumn is the table column denoting the upscales relation/edge.
	UpscalesColumn = "upscale_id"
	// GenerationOutputTable is the table that holds the generation_output relation/edge.
	GenerationOutputTable = "upscale_outputs"
	// GenerationOutputInverseTable is the table name for the GenerationOutput entity.
	// It exists in this package in order to avoid circular dependency with the "generationoutput" package.
	GenerationOutputInverseTable = "generation_outputs"
	// GenerationOutputColumn is the table column denoting the generation_output relation/edge.
	GenerationOutputColumn = "generation_output_id"
)

Variables

View Source
var (
	// 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 upscaleoutput fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.UpscaleOutput

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.UpscaleOutput

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.UpscaleOutput

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.UpscaleOutput

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.UpscaleOutput

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.UpscaleOutput

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.UpscaleOutput

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.UpscaleOutput

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.UpscaleOutput

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.UpscaleOutput

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.UpscaleOutput

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.UpscaleOutput

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.UpscaleOutput

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.UpscaleOutput

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.UpscaleOutput

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.UpscaleOutput

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.UpscaleOutput

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.UpscaleOutput

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func GenerationOutputID

func GenerationOutputID(v uuid.UUID) predicate.UpscaleOutput

GenerationOutputID applies equality check predicate on the "generation_output_id" field. It's identical to GenerationOutputIDEQ.

func GenerationOutputIDEQ

func GenerationOutputIDEQ(v uuid.UUID) predicate.UpscaleOutput

GenerationOutputIDEQ applies the EQ predicate on the "generation_output_id" field.

func GenerationOutputIDIn

func GenerationOutputIDIn(vs ...uuid.UUID) predicate.UpscaleOutput

GenerationOutputIDIn applies the In predicate on the "generation_output_id" field.

func GenerationOutputIDIsNil

func GenerationOutputIDIsNil() predicate.UpscaleOutput

GenerationOutputIDIsNil applies the IsNil predicate on the "generation_output_id" field.

func GenerationOutputIDNEQ

func GenerationOutputIDNEQ(v uuid.UUID) predicate.UpscaleOutput

GenerationOutputIDNEQ applies the NEQ predicate on the "generation_output_id" field.

func GenerationOutputIDNotIn

func GenerationOutputIDNotIn(vs ...uuid.UUID) predicate.UpscaleOutput

GenerationOutputIDNotIn applies the NotIn predicate on the "generation_output_id" field.

func GenerationOutputIDNotNil

func GenerationOutputIDNotNil() predicate.UpscaleOutput

GenerationOutputIDNotNil applies the NotNil predicate on the "generation_output_id" field.

func HasGenerationOutput

func HasGenerationOutput() predicate.UpscaleOutput

HasGenerationOutput applies the HasEdge predicate on the "generation_output" edge.

func HasGenerationOutputWith

func HasGenerationOutputWith(preds ...predicate.GenerationOutput) predicate.UpscaleOutput

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

func HasUpscales

func HasUpscales() predicate.UpscaleOutput

HasUpscales applies the HasEdge predicate on the "upscales" edge.

func HasUpscalesWith

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.UpscaleOutput

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.UpscaleOutput

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.UpscaleOutput

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ImagePath

func ImagePath(v string) predicate.UpscaleOutput

ImagePath applies equality check predicate on the "image_path" field. It's identical to ImagePathEQ.

func ImagePathContains

func ImagePathContains(v string) predicate.UpscaleOutput

ImagePathContains applies the Contains predicate on the "image_path" field.

func ImagePathContainsFold

func ImagePathContainsFold(v string) predicate.UpscaleOutput

ImagePathContainsFold applies the ContainsFold predicate on the "image_path" field.

func ImagePathEQ

func ImagePathEQ(v string) predicate.UpscaleOutput

ImagePathEQ applies the EQ predicate on the "image_path" field.

func ImagePathEqualFold

func ImagePathEqualFold(v string) predicate.UpscaleOutput

ImagePathEqualFold applies the EqualFold predicate on the "image_path" field.

func ImagePathGT

func ImagePathGT(v string) predicate.UpscaleOutput

ImagePathGT applies the GT predicate on the "image_path" field.

func ImagePathGTE

func ImagePathGTE(v string) predicate.UpscaleOutput

ImagePathGTE applies the GTE predicate on the "image_path" field.

func ImagePathHasPrefix

func ImagePathHasPrefix(v string) predicate.UpscaleOutput

ImagePathHasPrefix applies the HasPrefix predicate on the "image_path" field.

func ImagePathHasSuffix

func ImagePathHasSuffix(v string) predicate.UpscaleOutput

ImagePathHasSuffix applies the HasSuffix predicate on the "image_path" field.

func ImagePathIn

func ImagePathIn(vs ...string) predicate.UpscaleOutput

ImagePathIn applies the In predicate on the "image_path" field.

func ImagePathLT

func ImagePathLT(v string) predicate.UpscaleOutput

ImagePathLT applies the LT predicate on the "image_path" field.

func ImagePathLTE

func ImagePathLTE(v string) predicate.UpscaleOutput

ImagePathLTE applies the LTE predicate on the "image_path" field.

func ImagePathNEQ

func ImagePathNEQ(v string) predicate.UpscaleOutput

ImagePathNEQ applies the NEQ predicate on the "image_path" field.

func ImagePathNotIn

func ImagePathNotIn(vs ...string) predicate.UpscaleOutput

ImagePathNotIn applies the NotIn predicate on the "image_path" field.

func InputImageURL

func InputImageURL(v string) predicate.UpscaleOutput

InputImageURL applies equality check predicate on the "input_image_url" field. It's identical to InputImageURLEQ.

func InputImageURLContains

func InputImageURLContains(v string) predicate.UpscaleOutput

InputImageURLContains applies the Contains predicate on the "input_image_url" field.

func InputImageURLContainsFold

func InputImageURLContainsFold(v string) predicate.UpscaleOutput

InputImageURLContainsFold applies the ContainsFold predicate on the "input_image_url" field.

func InputImageURLEQ

func InputImageURLEQ(v string) predicate.UpscaleOutput

InputImageURLEQ applies the EQ predicate on the "input_image_url" field.

func InputImageURLEqualFold

func InputImageURLEqualFold(v string) predicate.UpscaleOutput

InputImageURLEqualFold applies the EqualFold predicate on the "input_image_url" field.

func InputImageURLGT

func InputImageURLGT(v string) predicate.UpscaleOutput

InputImageURLGT applies the GT predicate on the "input_image_url" field.

func InputImageURLGTE

func InputImageURLGTE(v string) predicate.UpscaleOutput

InputImageURLGTE applies the GTE predicate on the "input_image_url" field.

func InputImageURLHasPrefix

func InputImageURLHasPrefix(v string) predicate.UpscaleOutput

InputImageURLHasPrefix applies the HasPrefix predicate on the "input_image_url" field.

func InputImageURLHasSuffix

func InputImageURLHasSuffix(v string) predicate.UpscaleOutput

InputImageURLHasSuffix applies the HasSuffix predicate on the "input_image_url" field.

func InputImageURLIn

func InputImageURLIn(vs ...string) predicate.UpscaleOutput

InputImageURLIn applies the In predicate on the "input_image_url" field.

func InputImageURLIsNil

func InputImageURLIsNil() predicate.UpscaleOutput

InputImageURLIsNil applies the IsNil predicate on the "input_image_url" field.

func InputImageURLLT

func InputImageURLLT(v string) predicate.UpscaleOutput

InputImageURLLT applies the LT predicate on the "input_image_url" field.

func InputImageURLLTE

func InputImageURLLTE(v string) predicate.UpscaleOutput

InputImageURLLTE applies the LTE predicate on the "input_image_url" field.

func InputImageURLNEQ

func InputImageURLNEQ(v string) predicate.UpscaleOutput

InputImageURLNEQ applies the NEQ predicate on the "input_image_url" field.

func InputImageURLNotIn

func InputImageURLNotIn(vs ...string) predicate.UpscaleOutput

InputImageURLNotIn applies the NotIn predicate on the "input_image_url" field.

func InputImageURLNotNil

func InputImageURLNotNil() predicate.UpscaleOutput

InputImageURLNotNil applies the NotNil predicate on the "input_image_url" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.UpscaleOutput

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.UpscaleOutput

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.UpscaleOutput

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.UpscaleOutput

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.UpscaleOutput

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.UpscaleOutput

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.UpscaleOutput

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

func UpdatedAtNotIn

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

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

func UpscaleID

func UpscaleID(v uuid.UUID) predicate.UpscaleOutput

UpscaleID applies equality check predicate on the "upscale_id" field. It's identical to UpscaleIDEQ.

func UpscaleIDEQ

func UpscaleIDEQ(v uuid.UUID) predicate.UpscaleOutput

UpscaleIDEQ applies the EQ predicate on the "upscale_id" field.

func UpscaleIDIn

func UpscaleIDIn(vs ...uuid.UUID) predicate.UpscaleOutput

UpscaleIDIn applies the In predicate on the "upscale_id" field.

func UpscaleIDNEQ

func UpscaleIDNEQ(v uuid.UUID) predicate.UpscaleOutput

UpscaleIDNEQ applies the NEQ predicate on the "upscale_id" field.

func UpscaleIDNotIn

func UpscaleIDNotIn(vs ...uuid.UUID) predicate.UpscaleOutput

UpscaleIDNotIn applies the NotIn predicate on the "upscale_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the UpscaleOutput queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByGenerationOutputField

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

ByGenerationOutputField orders the results by generation_output field.

func ByGenerationOutputID

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

ByGenerationOutputID orders the results by the generation_output_id field.

func ByID

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

ByID orders the results by the id field.

func ByImagePath

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

ByImagePath orders the results by the image_path field.

func ByInputImageURL

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

ByInputImageURL orders the results by the input_image_url field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpscaleID

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

ByUpscaleID orders the results by the upscale_id field.

func ByUpscalesField

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

ByUpscalesField orders the results by upscales field.

Jump to

Keyboard shortcuts

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