generationoutput

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: 6 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the generationoutput type in the database.
	Label = "generation_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"
	// FieldUpscaledImagePath holds the string denoting the upscaled_image_path field in the database.
	FieldUpscaledImagePath = "upscaled_image_path"
	// FieldGalleryStatus holds the string denoting the gallery_status field in the database.
	FieldGalleryStatus = "gallery_status"
	// FieldIsFavorited holds the string denoting the is_favorited field in the database.
	FieldIsFavorited = "is_favorited"
	// FieldHasEmbeddings holds the string denoting the has_embeddings field in the database.
	FieldHasEmbeddings = "has_embeddings"
	// FieldHasEmbeddingsNew holds the string denoting the has_embeddings_new field in the database.
	FieldHasEmbeddingsNew = "has_embeddings_new"
	// FieldIsPublic holds the string denoting the is_public field in the database.
	FieldIsPublic = "is_public"
	// FieldAestheticRatingScore holds the string denoting the aesthetic_rating_score field in the database.
	FieldAestheticRatingScore = "aesthetic_rating_score"
	// FieldAestheticArtifactScore holds the string denoting the aesthetic_artifact_score field in the database.
	FieldAestheticArtifactScore = "aesthetic_artifact_score"
	// FieldLikeCount holds the string denoting the like_count field in the database.
	FieldLikeCount = "like_count"
	// FieldGenerationID holds the string denoting the generation_id field in the database.
	FieldGenerationID = "generation_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"
	// EdgeGenerations holds the string denoting the generations edge name in mutations.
	EdgeGenerations = "generations"
	// EdgeUpscaleOutputs holds the string denoting the upscale_outputs edge name in mutations.
	EdgeUpscaleOutputs = "upscale_outputs"
	// EdgeGenerationOutputLikes holds the string denoting the generation_output_likes edge name in mutations.
	EdgeGenerationOutputLikes = "generation_output_likes"
	// Table holds the table name of the generationoutput in the database.
	Table = "generation_outputs"
	// GenerationsTable is the table that holds the generations relation/edge.
	GenerationsTable = "generation_outputs"
	// GenerationsInverseTable is the table name for the Generation entity.
	// It exists in this package in order to avoid circular dependency with the "generation" package.
	GenerationsInverseTable = "generations"
	// GenerationsColumn is the table column denoting the generations relation/edge.
	GenerationsColumn = "generation_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 = "generation_output_id"
	// GenerationOutputLikesTable is the table that holds the generation_output_likes relation/edge.
	GenerationOutputLikesTable = "generation_output_likes"
	// GenerationOutputLikesInverseTable is the table name for the GenerationOutputLike entity.
	// It exists in this package in order to avoid circular dependency with the "generationoutputlike" package.
	GenerationOutputLikesInverseTable = "generation_output_likes"
	// GenerationOutputLikesColumn is the table column denoting the generation_output_likes relation/edge.
	GenerationOutputLikesColumn = "output_id"
)
View Source
const DefaultGalleryStatus = GalleryStatusNotSubmitted

GalleryStatusNotSubmitted is the default value of the GalleryStatus enum.

Variables

View Source
var (
	// DefaultIsFavorited holds the default value on creation for the "is_favorited" field.
	DefaultIsFavorited bool
	// DefaultHasEmbeddings holds the default value on creation for the "has_embeddings" field.
	DefaultHasEmbeddings bool
	// DefaultHasEmbeddingsNew holds the default value on creation for the "has_embeddings_new" field.
	DefaultHasEmbeddingsNew bool
	// DefaultIsPublic holds the default value on creation for the "is_public" field.
	DefaultIsPublic bool
	// DefaultAestheticRatingScore holds the default value on creation for the "aesthetic_rating_score" field.
	DefaultAestheticRatingScore float32
	// DefaultAestheticArtifactScore holds the default value on creation for the "aesthetic_artifact_score" field.
	DefaultAestheticArtifactScore float32
	// DefaultLikeCount holds the default value on creation for the "like_count" field.
	DefaultLikeCount int
	// 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 generationoutput fields.

Functions

func AestheticArtifactScore

func AestheticArtifactScore(v float32) predicate.GenerationOutput

AestheticArtifactScore applies equality check predicate on the "aesthetic_artifact_score" field. It's identical to AestheticArtifactScoreEQ.

func AestheticArtifactScoreEQ

func AestheticArtifactScoreEQ(v float32) predicate.GenerationOutput

AestheticArtifactScoreEQ applies the EQ predicate on the "aesthetic_artifact_score" field.

func AestheticArtifactScoreGT

func AestheticArtifactScoreGT(v float32) predicate.GenerationOutput

AestheticArtifactScoreGT applies the GT predicate on the "aesthetic_artifact_score" field.

func AestheticArtifactScoreGTE

func AestheticArtifactScoreGTE(v float32) predicate.GenerationOutput

AestheticArtifactScoreGTE applies the GTE predicate on the "aesthetic_artifact_score" field.

func AestheticArtifactScoreIn

func AestheticArtifactScoreIn(vs ...float32) predicate.GenerationOutput

AestheticArtifactScoreIn applies the In predicate on the "aesthetic_artifact_score" field.

func AestheticArtifactScoreLT

func AestheticArtifactScoreLT(v float32) predicate.GenerationOutput

AestheticArtifactScoreLT applies the LT predicate on the "aesthetic_artifact_score" field.

func AestheticArtifactScoreLTE

func AestheticArtifactScoreLTE(v float32) predicate.GenerationOutput

AestheticArtifactScoreLTE applies the LTE predicate on the "aesthetic_artifact_score" field.

func AestheticArtifactScoreNEQ

func AestheticArtifactScoreNEQ(v float32) predicate.GenerationOutput

AestheticArtifactScoreNEQ applies the NEQ predicate on the "aesthetic_artifact_score" field.

func AestheticArtifactScoreNotIn

func AestheticArtifactScoreNotIn(vs ...float32) predicate.GenerationOutput

AestheticArtifactScoreNotIn applies the NotIn predicate on the "aesthetic_artifact_score" field.

func AestheticRatingScore

func AestheticRatingScore(v float32) predicate.GenerationOutput

AestheticRatingScore applies equality check predicate on the "aesthetic_rating_score" field. It's identical to AestheticRatingScoreEQ.

func AestheticRatingScoreEQ

func AestheticRatingScoreEQ(v float32) predicate.GenerationOutput

AestheticRatingScoreEQ applies the EQ predicate on the "aesthetic_rating_score" field.

func AestheticRatingScoreGT

func AestheticRatingScoreGT(v float32) predicate.GenerationOutput

AestheticRatingScoreGT applies the GT predicate on the "aesthetic_rating_score" field.

func AestheticRatingScoreGTE

func AestheticRatingScoreGTE(v float32) predicate.GenerationOutput

AestheticRatingScoreGTE applies the GTE predicate on the "aesthetic_rating_score" field.

func AestheticRatingScoreIn

func AestheticRatingScoreIn(vs ...float32) predicate.GenerationOutput

AestheticRatingScoreIn applies the In predicate on the "aesthetic_rating_score" field.

func AestheticRatingScoreLT

func AestheticRatingScoreLT(v float32) predicate.GenerationOutput

AestheticRatingScoreLT applies the LT predicate on the "aesthetic_rating_score" field.

func AestheticRatingScoreLTE

func AestheticRatingScoreLTE(v float32) predicate.GenerationOutput

AestheticRatingScoreLTE applies the LTE predicate on the "aesthetic_rating_score" field.

func AestheticRatingScoreNEQ

func AestheticRatingScoreNEQ(v float32) predicate.GenerationOutput

AestheticRatingScoreNEQ applies the NEQ predicate on the "aesthetic_rating_score" field.

func AestheticRatingScoreNotIn

func AestheticRatingScoreNotIn(vs ...float32) predicate.GenerationOutput

AestheticRatingScoreNotIn applies the NotIn predicate on the "aesthetic_rating_score" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.GenerationOutput

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GenerationOutput

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GenerationOutput

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GenerationOutput

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GenerationOutput

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GenerationOutput

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GenerationOutput

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.GenerationOutput

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.GenerationOutput

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.GenerationOutput

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.GenerationOutput

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.GenerationOutput

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.GenerationOutput

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.GenerationOutput

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.GenerationOutput

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.GenerationOutput

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

func GalleryStatusEQ

func GalleryStatusEQ(v GalleryStatus) predicate.GenerationOutput

GalleryStatusEQ applies the EQ predicate on the "gallery_status" field.

func GalleryStatusIn

func GalleryStatusIn(vs ...GalleryStatus) predicate.GenerationOutput

GalleryStatusIn applies the In predicate on the "gallery_status" field.

func GalleryStatusNEQ

func GalleryStatusNEQ(v GalleryStatus) predicate.GenerationOutput

GalleryStatusNEQ applies the NEQ predicate on the "gallery_status" field.

func GalleryStatusNotIn

func GalleryStatusNotIn(vs ...GalleryStatus) predicate.GenerationOutput

GalleryStatusNotIn applies the NotIn predicate on the "gallery_status" field.

func GalleryStatusValidator

func GalleryStatusValidator(gs GalleryStatus) error

GalleryStatusValidator is a validator for the "gallery_status" field enum values. It is called by the builders before save.

func GenerationID

func GenerationID(v uuid.UUID) predicate.GenerationOutput

GenerationID applies equality check predicate on the "generation_id" field. It's identical to GenerationIDEQ.

func GenerationIDEQ

func GenerationIDEQ(v uuid.UUID) predicate.GenerationOutput

GenerationIDEQ applies the EQ predicate on the "generation_id" field.

func GenerationIDIn

func GenerationIDIn(vs ...uuid.UUID) predicate.GenerationOutput

GenerationIDIn applies the In predicate on the "generation_id" field.

func GenerationIDNEQ

func GenerationIDNEQ(v uuid.UUID) predicate.GenerationOutput

GenerationIDNEQ applies the NEQ predicate on the "generation_id" field.

func GenerationIDNotIn

func GenerationIDNotIn(vs ...uuid.UUID) predicate.GenerationOutput

GenerationIDNotIn applies the NotIn predicate on the "generation_id" field.

func HasEmbeddings

func HasEmbeddings(v bool) predicate.GenerationOutput

HasEmbeddings applies equality check predicate on the "has_embeddings" field. It's identical to HasEmbeddingsEQ.

func HasEmbeddingsEQ

func HasEmbeddingsEQ(v bool) predicate.GenerationOutput

HasEmbeddingsEQ applies the EQ predicate on the "has_embeddings" field.

func HasEmbeddingsNEQ

func HasEmbeddingsNEQ(v bool) predicate.GenerationOutput

HasEmbeddingsNEQ applies the NEQ predicate on the "has_embeddings" field.

func HasEmbeddingsNew

func HasEmbeddingsNew(v bool) predicate.GenerationOutput

HasEmbeddingsNew applies equality check predicate on the "has_embeddings_new" field. It's identical to HasEmbeddingsNewEQ.

func HasEmbeddingsNewEQ

func HasEmbeddingsNewEQ(v bool) predicate.GenerationOutput

HasEmbeddingsNewEQ applies the EQ predicate on the "has_embeddings_new" field.

func HasEmbeddingsNewNEQ

func HasEmbeddingsNewNEQ(v bool) predicate.GenerationOutput

HasEmbeddingsNewNEQ applies the NEQ predicate on the "has_embeddings_new" field.

func HasGenerationOutputLikes

func HasGenerationOutputLikes() predicate.GenerationOutput

HasGenerationOutputLikes applies the HasEdge predicate on the "generation_output_likes" edge.

func HasGenerationOutputLikesWith

func HasGenerationOutputLikesWith(preds ...predicate.GenerationOutputLike) predicate.GenerationOutput

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

func HasGenerations

func HasGenerations() predicate.GenerationOutput

HasGenerations applies the HasEdge predicate on the "generations" edge.

func HasGenerationsWith

func HasGenerationsWith(preds ...predicate.Generation) predicate.GenerationOutput

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

func HasUpscaleOutputs

func HasUpscaleOutputs() predicate.GenerationOutput

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

func HasUpscaleOutputsWith

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

HasUpscaleOutputsWith applies the HasEdge predicate on the "upscale_outputs" 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

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ImagePath

func ImagePath(v string) predicate.GenerationOutput

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

func ImagePathContains

func ImagePathContains(v string) predicate.GenerationOutput

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

func ImagePathContainsFold

func ImagePathContainsFold(v string) predicate.GenerationOutput

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

func ImagePathEQ

func ImagePathEQ(v string) predicate.GenerationOutput

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

func ImagePathEqualFold

func ImagePathEqualFold(v string) predicate.GenerationOutput

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

func ImagePathGT

func ImagePathGT(v string) predicate.GenerationOutput

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

func ImagePathGTE

func ImagePathGTE(v string) predicate.GenerationOutput

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

func ImagePathHasPrefix

func ImagePathHasPrefix(v string) predicate.GenerationOutput

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

func ImagePathHasSuffix

func ImagePathHasSuffix(v string) predicate.GenerationOutput

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

func ImagePathIn

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

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

func ImagePathLT

func ImagePathLT(v string) predicate.GenerationOutput

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

func ImagePathLTE

func ImagePathLTE(v string) predicate.GenerationOutput

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

func ImagePathNEQ

func ImagePathNEQ(v string) predicate.GenerationOutput

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

func ImagePathNotIn

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

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

func IsFavorited

func IsFavorited(v bool) predicate.GenerationOutput

IsFavorited applies equality check predicate on the "is_favorited" field. It's identical to IsFavoritedEQ.

func IsFavoritedEQ

func IsFavoritedEQ(v bool) predicate.GenerationOutput

IsFavoritedEQ applies the EQ predicate on the "is_favorited" field.

func IsFavoritedNEQ

func IsFavoritedNEQ(v bool) predicate.GenerationOutput

IsFavoritedNEQ applies the NEQ predicate on the "is_favorited" field.

func IsPublic

func IsPublic(v bool) predicate.GenerationOutput

IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.

func IsPublicEQ

func IsPublicEQ(v bool) predicate.GenerationOutput

IsPublicEQ applies the EQ predicate on the "is_public" field.

func IsPublicNEQ

func IsPublicNEQ(v bool) predicate.GenerationOutput

IsPublicNEQ applies the NEQ predicate on the "is_public" field.

func LikeCount

func LikeCount(v int) predicate.GenerationOutput

LikeCount applies equality check predicate on the "like_count" field. It's identical to LikeCountEQ.

func LikeCountEQ

func LikeCountEQ(v int) predicate.GenerationOutput

LikeCountEQ applies the EQ predicate on the "like_count" field.

func LikeCountGT

func LikeCountGT(v int) predicate.GenerationOutput

LikeCountGT applies the GT predicate on the "like_count" field.

func LikeCountGTE

func LikeCountGTE(v int) predicate.GenerationOutput

LikeCountGTE applies the GTE predicate on the "like_count" field.

func LikeCountIn

func LikeCountIn(vs ...int) predicate.GenerationOutput

LikeCountIn applies the In predicate on the "like_count" field.

func LikeCountLT

func LikeCountLT(v int) predicate.GenerationOutput

LikeCountLT applies the LT predicate on the "like_count" field.

func LikeCountLTE

func LikeCountLTE(v int) predicate.GenerationOutput

LikeCountLTE applies the LTE predicate on the "like_count" field.

func LikeCountNEQ

func LikeCountNEQ(v int) predicate.GenerationOutput

LikeCountNEQ applies the NEQ predicate on the "like_count" field.

func LikeCountNotIn

func LikeCountNotIn(vs ...int) predicate.GenerationOutput

LikeCountNotIn applies the NotIn predicate on the "like_count" 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.GenerationOutput

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.GenerationOutput

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.GenerationOutput

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.GenerationOutput

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.GenerationOutput

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.GenerationOutput

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.GenerationOutput

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

func UpdatedAtNotIn

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

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

func UpscaledImagePath

func UpscaledImagePath(v string) predicate.GenerationOutput

UpscaledImagePath applies equality check predicate on the "upscaled_image_path" field. It's identical to UpscaledImagePathEQ.

func UpscaledImagePathContains

func UpscaledImagePathContains(v string) predicate.GenerationOutput

UpscaledImagePathContains applies the Contains predicate on the "upscaled_image_path" field.

func UpscaledImagePathContainsFold

func UpscaledImagePathContainsFold(v string) predicate.GenerationOutput

UpscaledImagePathContainsFold applies the ContainsFold predicate on the "upscaled_image_path" field.

func UpscaledImagePathEQ

func UpscaledImagePathEQ(v string) predicate.GenerationOutput

UpscaledImagePathEQ applies the EQ predicate on the "upscaled_image_path" field.

func UpscaledImagePathEqualFold

func UpscaledImagePathEqualFold(v string) predicate.GenerationOutput

UpscaledImagePathEqualFold applies the EqualFold predicate on the "upscaled_image_path" field.

func UpscaledImagePathGT

func UpscaledImagePathGT(v string) predicate.GenerationOutput

UpscaledImagePathGT applies the GT predicate on the "upscaled_image_path" field.

func UpscaledImagePathGTE

func UpscaledImagePathGTE(v string) predicate.GenerationOutput

UpscaledImagePathGTE applies the GTE predicate on the "upscaled_image_path" field.

func UpscaledImagePathHasPrefix

func UpscaledImagePathHasPrefix(v string) predicate.GenerationOutput

UpscaledImagePathHasPrefix applies the HasPrefix predicate on the "upscaled_image_path" field.

func UpscaledImagePathHasSuffix

func UpscaledImagePathHasSuffix(v string) predicate.GenerationOutput

UpscaledImagePathHasSuffix applies the HasSuffix predicate on the "upscaled_image_path" field.

func UpscaledImagePathIn

func UpscaledImagePathIn(vs ...string) predicate.GenerationOutput

UpscaledImagePathIn applies the In predicate on the "upscaled_image_path" field.

func UpscaledImagePathIsNil

func UpscaledImagePathIsNil() predicate.GenerationOutput

UpscaledImagePathIsNil applies the IsNil predicate on the "upscaled_image_path" field.

func UpscaledImagePathLT

func UpscaledImagePathLT(v string) predicate.GenerationOutput

UpscaledImagePathLT applies the LT predicate on the "upscaled_image_path" field.

func UpscaledImagePathLTE

func UpscaledImagePathLTE(v string) predicate.GenerationOutput

UpscaledImagePathLTE applies the LTE predicate on the "upscaled_image_path" field.

func UpscaledImagePathNEQ

func UpscaledImagePathNEQ(v string) predicate.GenerationOutput

UpscaledImagePathNEQ applies the NEQ predicate on the "upscaled_image_path" field.

func UpscaledImagePathNotIn

func UpscaledImagePathNotIn(vs ...string) predicate.GenerationOutput

UpscaledImagePathNotIn applies the NotIn predicate on the "upscaled_image_path" field.

func UpscaledImagePathNotNil

func UpscaledImagePathNotNil() predicate.GenerationOutput

UpscaledImagePathNotNil applies the NotNil predicate on the "upscaled_image_path" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type GalleryStatus

type GalleryStatus string

GalleryStatus defines the type for the "gallery_status" enum field.

const (
	GalleryStatusNotSubmitted       GalleryStatus = "not_submitted"
	GalleryStatusSubmitted          GalleryStatus = "submitted"
	GalleryStatusApproved           GalleryStatus = "approved"
	GalleryStatusRejected           GalleryStatus = "rejected"
	GalleryStatusWaitingForApproval GalleryStatus = "waiting_for_approval"
)

GalleryStatus values.

func (GalleryStatus) String

func (gs GalleryStatus) String() string

Jump to

Keyboard shortcuts

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