Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NoBackref) predicate.NoBackref
- func HasImages() predicate.NoBackref
- func HasImagesWith(preds ...predicate.Image) predicate.NoBackref
- func ID(id int) predicate.NoBackref
- func IDEQ(id int) predicate.NoBackref
- func IDGT(id int) predicate.NoBackref
- func IDGTE(id int) predicate.NoBackref
- func IDIn(ids ...int) predicate.NoBackref
- func IDLT(id int) predicate.NoBackref
- func IDLTE(id int) predicate.NoBackref
- func IDNEQ(id int) predicate.NoBackref
- func IDNotIn(ids ...int) predicate.NoBackref
- func Not(p predicate.NoBackref) predicate.NoBackref
- func Or(predicates ...predicate.NoBackref) predicate.NoBackref
- func ValidColumn(column string) bool
Constants ¶
View Source
const ( // Label holds the string label denoting the nobackref type in the database. Label = "no_backref" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeImages holds the string denoting the images edge name in mutations. EdgeImages = "images" // Table holds the table name of the nobackref in the database. Table = "no_backrefs" // ImagesTable is the table that holds the images relation/edge. ImagesTable = "images" // ImagesInverseTable is the table name for the Image entity. // It exists in this package in order to avoid circular dependency with the "image" package. ImagesInverseTable = "images" // ImagesColumn is the table column denoting the images relation/edge. ImagesColumn = "no_backref_images" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for nobackref fields.
Functions ¶
func HasImagesWith ¶
HasImagesWith applies the HasEdge predicate on the "images" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.