Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PrintingImage) predicate.PrintingImage
- func HasPrinting() predicate.PrintingImage
- func HasPrintingWith(preds ...predicate.Printing) predicate.PrintingImage
- func ID(id int) predicate.PrintingImage
- func IDEQ(id int) predicate.PrintingImage
- func IDGT(id int) predicate.PrintingImage
- func IDGTE(id int) predicate.PrintingImage
- func IDIn(ids ...int) predicate.PrintingImage
- func IDLT(id int) predicate.PrintingImage
- func IDLTE(id int) predicate.PrintingImage
- func IDNEQ(id int) predicate.PrintingImage
- func IDNotIn(ids ...int) predicate.PrintingImage
- func Not(p predicate.PrintingImage) predicate.PrintingImage
- func Or(predicates ...predicate.PrintingImage) predicate.PrintingImage
- func URL(v string) predicate.PrintingImage
- func URLContains(v string) predicate.PrintingImage
- func URLContainsFold(v string) predicate.PrintingImage
- func URLEQ(v string) predicate.PrintingImage
- func URLEqualFold(v string) predicate.PrintingImage
- func URLGT(v string) predicate.PrintingImage
- func URLGTE(v string) predicate.PrintingImage
- func URLHasPrefix(v string) predicate.PrintingImage
- func URLHasSuffix(v string) predicate.PrintingImage
- func URLIn(vs ...string) predicate.PrintingImage
- func URLLT(v string) predicate.PrintingImage
- func URLLTE(v string) predicate.PrintingImage
- func URLNEQ(v string) predicate.PrintingImage
- func URLNotIn(vs ...string) predicate.PrintingImage
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldURL, }
Columns holds all SQL columns for printingimage fields.
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.
var ( // URLValidator is a validator for the "url" field. It is called by the builders before save. URLValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.PrintingImage) predicate.PrintingImage
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 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 ¶
func Not(p predicate.PrintingImage) predicate.PrintingImage
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.PrintingImage) predicate.PrintingImage
Or groups predicates with the OR operator between them.
func URL ¶
func URL(v string) predicate.PrintingImage
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 ¶
func URLEQ(v string) predicate.PrintingImage
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 ¶
func URLGT(v string) predicate.PrintingImage
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 ¶
func URLLT(v string) predicate.PrintingImage
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.