printingimage

package
v0.0.0-...-b44d1c1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the printingimage type in the database.
	Label = "printing_image"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// EdgePrinting holds the string denoting the printing edge name in mutations.
	EdgePrinting = "printing"
	// Table holds the table name of the printingimage in the database.
	Table = "printing_images"
	// PrintingTable is the table that holds the printing relation/edge.
	PrintingTable = "printing_images"
	// PrintingInverseTable is the table name for the Printing entity.
	// It exists in this package in order to avoid circular dependency with the "printing" package.
	PrintingInverseTable = "printings"
	// PrintingColumn is the table column denoting the printing relation/edge.
	PrintingColumn = "printing_image_printing"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldURL,
}

Columns holds all SQL columns for printingimage fields.

View Source
var ForeignKeys = []string{
	"printing_image_printing",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "printing_images" table and are not defined as standalone fields in the schema.

View Source
var (
	// URLValidator is a validator for the "url" field. It is called by the builders before save.
	URLValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func HasPrinting

func HasPrinting() predicate.PrintingImage

HasPrinting applies the HasEdge predicate on the "printing" edge.

func HasPrintingWith

func HasPrintingWith(preds ...predicate.Printing) predicate.PrintingImage

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.PrintingImage

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.PrintingImage

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.PrintingImage

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.PrintingImage

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.PrintingImage

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.PrintingImage

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.PrintingImage

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.PrintingImage

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func URL

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.PrintingImage

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.PrintingImage

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.PrintingImage

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.PrintingImage

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.PrintingImage

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.PrintingImage

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.PrintingImage

URLIn applies the In predicate on the "url" field.

func URLLT

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.PrintingImage

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.PrintingImage

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.PrintingImage

URLNotIn applies the NotIn predicate on the "url" 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 PrintingImage queries.

func ByID

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

ByID orders the results by the id field.

func ByPrintingField

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

ByPrintingField orders the results by printing field.

func ByURL

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

ByURL orders the results by the url field.

Jump to

Keyboard shortcuts

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