Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AddressPlace) predicate.AddressPlace
- func HasStreets() predicate.AddressPlace
- func HasStreetsWith(preds ...predicate.Street) predicate.AddressPlace
- func ID(id int32) predicate.AddressPlace
- func IDEQ(id int32) predicate.AddressPlace
- func IDGT(id int32) predicate.AddressPlace
- func IDGTE(id int32) predicate.AddressPlace
- func IDIn(ids ...int32) predicate.AddressPlace
- func IDLT(id int32) predicate.AddressPlace
- func IDLTE(id int32) predicate.AddressPlace
- func IDNEQ(id int32) predicate.AddressPlace
- func IDNotIn(ids ...int32) predicate.AddressPlace
- func Not(p predicate.AddressPlace) predicate.AddressPlace
- func Number(v int32) predicate.AddressPlace
- func NumberEQ(v int32) predicate.AddressPlace
- func NumberGT(v int32) predicate.AddressPlace
- func NumberGTE(v int32) predicate.AddressPlace
- func NumberIn(vs ...int32) predicate.AddressPlace
- func NumberLT(v int32) predicate.AddressPlace
- func NumberLTE(v int32) predicate.AddressPlace
- func NumberNEQ(v int32) predicate.AddressPlace
- func NumberNotIn(vs ...int32) predicate.AddressPlace
- func Or(predicates ...predicate.AddressPlace) predicate.AddressPlace
- func OrientationNumber(v int32) predicate.AddressPlace
- func OrientationNumberEQ(v int32) predicate.AddressPlace
- func OrientationNumberGT(v int32) predicate.AddressPlace
- func OrientationNumberGTE(v int32) predicate.AddressPlace
- func OrientationNumberIn(vs ...int32) predicate.AddressPlace
- func OrientationNumberIsNil() predicate.AddressPlace
- func OrientationNumberLT(v int32) predicate.AddressPlace
- func OrientationNumberLTE(v int32) predicate.AddressPlace
- func OrientationNumberLetter(v string) predicate.AddressPlace
- func OrientationNumberLetterContains(v string) predicate.AddressPlace
- func OrientationNumberLetterContainsFold(v string) predicate.AddressPlace
- func OrientationNumberLetterEQ(v string) predicate.AddressPlace
- func OrientationNumberLetterEqualFold(v string) predicate.AddressPlace
- func OrientationNumberLetterGT(v string) predicate.AddressPlace
- func OrientationNumberLetterGTE(v string) predicate.AddressPlace
- func OrientationNumberLetterHasPrefix(v string) predicate.AddressPlace
- func OrientationNumberLetterHasSuffix(v string) predicate.AddressPlace
- func OrientationNumberLetterIn(vs ...string) predicate.AddressPlace
- func OrientationNumberLetterIsNil() predicate.AddressPlace
- func OrientationNumberLetterLT(v string) predicate.AddressPlace
- func OrientationNumberLetterLTE(v string) predicate.AddressPlace
- func OrientationNumberLetterNEQ(v string) predicate.AddressPlace
- func OrientationNumberLetterNotIn(vs ...string) predicate.AddressPlace
- func OrientationNumberLetterNotNil() predicate.AddressPlace
- func OrientationNumberNEQ(v int32) predicate.AddressPlace
- func OrientationNumberNotIn(vs ...int32) predicate.AddressPlace
- func OrientationNumberNotNil() predicate.AddressPlace
- func ValidColumn(column string) bool
- func Zip(v int32) predicate.AddressPlace
- func ZipEQ(v int32) predicate.AddressPlace
- func ZipGT(v int32) predicate.AddressPlace
- func ZipGTE(v int32) predicate.AddressPlace
- func ZipIn(vs ...int32) predicate.AddressPlace
- func ZipLT(v int32) predicate.AddressPlace
- func ZipLTE(v int32) predicate.AddressPlace
- func ZipNEQ(v int32) predicate.AddressPlace
- func ZipNotIn(vs ...int32) predicate.AddressPlace
Constants ¶
const ( // Label holds the string label denoting the addressplace type in the database. Label = "address_place" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNumber holds the string denoting the number field in the database. FieldNumber = "number" // FieldOrientationNumber holds the string denoting the orientation_number field in the database. FieldOrientationNumber = "orientation_number" // FieldOrientationNumberLetter holds the string denoting the orientation_number_letter field in the database. FieldOrientationNumberLetter = "orientation_number_letter" // FieldZip holds the string denoting the zip field in the database. FieldZip = "zip" // EdgeStreets holds the string denoting the streets edge name in mutations. EdgeStreets = "streets" // Table holds the table name of the addressplace in the database. Table = "address_places" // StreetsTable is the table that holds the streets relation/edge. The primary key declared below. StreetsTable = "address_place_streets" // StreetsInverseTable is the table name for the Street entity. // It exists in this package in order to avoid circular dependency with the "street" package. StreetsInverseTable = "streets" )
Variables ¶
var Columns = []string{ FieldID, FieldNumber, FieldOrientationNumber, FieldOrientationNumberLetter, FieldZip, }
Columns holds all SQL columns for addressplace fields.
var ( // StreetsPrimaryKey and StreetsColumn2 are the table columns denoting the // primary key for the streets relation (M2M). StreetsPrimaryKey = []string{"address_place_id", "street_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.AddressPlace) predicate.AddressPlace
And groups predicates with the AND operator between them.
func HasStreets ¶
func HasStreets() predicate.AddressPlace
HasStreets applies the HasEdge predicate on the "streets" edge.
func HasStreetsWith ¶
func HasStreetsWith(preds ...predicate.Street) predicate.AddressPlace
HasStreetsWith applies the HasEdge predicate on the "streets" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int32) predicate.AddressPlace
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int32) predicate.AddressPlace
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int32) predicate.AddressPlace
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int32) predicate.AddressPlace
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int32) predicate.AddressPlace
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int32) predicate.AddressPlace
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int32) predicate.AddressPlace
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int32) predicate.AddressPlace
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.AddressPlace) predicate.AddressPlace
Not applies the not operator on the given predicate.
func Number ¶
func Number(v int32) predicate.AddressPlace
Number applies equality check predicate on the "number" field. It's identical to NumberEQ.
func NumberEQ ¶
func NumberEQ(v int32) predicate.AddressPlace
NumberEQ applies the EQ predicate on the "number" field.
func NumberGT ¶
func NumberGT(v int32) predicate.AddressPlace
NumberGT applies the GT predicate on the "number" field.
func NumberGTE ¶
func NumberGTE(v int32) predicate.AddressPlace
NumberGTE applies the GTE predicate on the "number" field.
func NumberIn ¶
func NumberIn(vs ...int32) predicate.AddressPlace
NumberIn applies the In predicate on the "number" field.
func NumberLT ¶
func NumberLT(v int32) predicate.AddressPlace
NumberLT applies the LT predicate on the "number" field.
func NumberLTE ¶
func NumberLTE(v int32) predicate.AddressPlace
NumberLTE applies the LTE predicate on the "number" field.
func NumberNEQ ¶
func NumberNEQ(v int32) predicate.AddressPlace
NumberNEQ applies the NEQ predicate on the "number" field.
func NumberNotIn ¶
func NumberNotIn(vs ...int32) predicate.AddressPlace
NumberNotIn applies the NotIn predicate on the "number" field.
func Or ¶
func Or(predicates ...predicate.AddressPlace) predicate.AddressPlace
Or groups predicates with the OR operator between them.
func OrientationNumber ¶
func OrientationNumber(v int32) predicate.AddressPlace
OrientationNumber applies equality check predicate on the "orientation_number" field. It's identical to OrientationNumberEQ.
func OrientationNumberEQ ¶
func OrientationNumberEQ(v int32) predicate.AddressPlace
OrientationNumberEQ applies the EQ predicate on the "orientation_number" field.
func OrientationNumberGT ¶
func OrientationNumberGT(v int32) predicate.AddressPlace
OrientationNumberGT applies the GT predicate on the "orientation_number" field.
func OrientationNumberGTE ¶
func OrientationNumberGTE(v int32) predicate.AddressPlace
OrientationNumberGTE applies the GTE predicate on the "orientation_number" field.
func OrientationNumberIn ¶
func OrientationNumberIn(vs ...int32) predicate.AddressPlace
OrientationNumberIn applies the In predicate on the "orientation_number" field.
func OrientationNumberIsNil ¶
func OrientationNumberIsNil() predicate.AddressPlace
OrientationNumberIsNil applies the IsNil predicate on the "orientation_number" field.
func OrientationNumberLT ¶
func OrientationNumberLT(v int32) predicate.AddressPlace
OrientationNumberLT applies the LT predicate on the "orientation_number" field.
func OrientationNumberLTE ¶
func OrientationNumberLTE(v int32) predicate.AddressPlace
OrientationNumberLTE applies the LTE predicate on the "orientation_number" field.
func OrientationNumberLetter ¶
func OrientationNumberLetter(v string) predicate.AddressPlace
OrientationNumberLetter applies equality check predicate on the "orientation_number_letter" field. It's identical to OrientationNumberLetterEQ.
func OrientationNumberLetterContains ¶
func OrientationNumberLetterContains(v string) predicate.AddressPlace
OrientationNumberLetterContains applies the Contains predicate on the "orientation_number_letter" field.
func OrientationNumberLetterContainsFold ¶
func OrientationNumberLetterContainsFold(v string) predicate.AddressPlace
OrientationNumberLetterContainsFold applies the ContainsFold predicate on the "orientation_number_letter" field.
func OrientationNumberLetterEQ ¶
func OrientationNumberLetterEQ(v string) predicate.AddressPlace
OrientationNumberLetterEQ applies the EQ predicate on the "orientation_number_letter" field.
func OrientationNumberLetterEqualFold ¶
func OrientationNumberLetterEqualFold(v string) predicate.AddressPlace
OrientationNumberLetterEqualFold applies the EqualFold predicate on the "orientation_number_letter" field.
func OrientationNumberLetterGT ¶
func OrientationNumberLetterGT(v string) predicate.AddressPlace
OrientationNumberLetterGT applies the GT predicate on the "orientation_number_letter" field.
func OrientationNumberLetterGTE ¶
func OrientationNumberLetterGTE(v string) predicate.AddressPlace
OrientationNumberLetterGTE applies the GTE predicate on the "orientation_number_letter" field.
func OrientationNumberLetterHasPrefix ¶
func OrientationNumberLetterHasPrefix(v string) predicate.AddressPlace
OrientationNumberLetterHasPrefix applies the HasPrefix predicate on the "orientation_number_letter" field.
func OrientationNumberLetterHasSuffix ¶
func OrientationNumberLetterHasSuffix(v string) predicate.AddressPlace
OrientationNumberLetterHasSuffix applies the HasSuffix predicate on the "orientation_number_letter" field.
func OrientationNumberLetterIn ¶
func OrientationNumberLetterIn(vs ...string) predicate.AddressPlace
OrientationNumberLetterIn applies the In predicate on the "orientation_number_letter" field.
func OrientationNumberLetterIsNil ¶
func OrientationNumberLetterIsNil() predicate.AddressPlace
OrientationNumberLetterIsNil applies the IsNil predicate on the "orientation_number_letter" field.
func OrientationNumberLetterLT ¶
func OrientationNumberLetterLT(v string) predicate.AddressPlace
OrientationNumberLetterLT applies the LT predicate on the "orientation_number_letter" field.
func OrientationNumberLetterLTE ¶
func OrientationNumberLetterLTE(v string) predicate.AddressPlace
OrientationNumberLetterLTE applies the LTE predicate on the "orientation_number_letter" field.
func OrientationNumberLetterNEQ ¶
func OrientationNumberLetterNEQ(v string) predicate.AddressPlace
OrientationNumberLetterNEQ applies the NEQ predicate on the "orientation_number_letter" field.
func OrientationNumberLetterNotIn ¶
func OrientationNumberLetterNotIn(vs ...string) predicate.AddressPlace
OrientationNumberLetterNotIn applies the NotIn predicate on the "orientation_number_letter" field.
func OrientationNumberLetterNotNil ¶
func OrientationNumberLetterNotNil() predicate.AddressPlace
OrientationNumberLetterNotNil applies the NotNil predicate on the "orientation_number_letter" field.
func OrientationNumberNEQ ¶
func OrientationNumberNEQ(v int32) predicate.AddressPlace
OrientationNumberNEQ applies the NEQ predicate on the "orientation_number" field.
func OrientationNumberNotIn ¶
func OrientationNumberNotIn(vs ...int32) predicate.AddressPlace
OrientationNumberNotIn applies the NotIn predicate on the "orientation_number" field.
func OrientationNumberNotNil ¶
func OrientationNumberNotNil() predicate.AddressPlace
OrientationNumberNotNil applies the NotNil predicate on the "orientation_number" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Zip ¶
func Zip(v int32) predicate.AddressPlace
Zip applies equality check predicate on the "zip" field. It's identical to ZipEQ.
func ZipEQ ¶
func ZipEQ(v int32) predicate.AddressPlace
ZipEQ applies the EQ predicate on the "zip" field.
func ZipGT ¶
func ZipGT(v int32) predicate.AddressPlace
ZipGT applies the GT predicate on the "zip" field.
func ZipGTE ¶
func ZipGTE(v int32) predicate.AddressPlace
ZipGTE applies the GTE predicate on the "zip" field.
func ZipIn ¶
func ZipIn(vs ...int32) predicate.AddressPlace
ZipIn applies the In predicate on the "zip" field.
func ZipLT ¶
func ZipLT(v int32) predicate.AddressPlace
ZipLT applies the LT predicate on the "zip" field.
func ZipLTE ¶
func ZipLTE(v int32) predicate.AddressPlace
ZipLTE applies the LTE predicate on the "zip" field.
func ZipNEQ ¶
func ZipNEQ(v int32) predicate.AddressPlace
ZipNEQ applies the NEQ predicate on the "zip" field.
func ZipNotIn ¶
func ZipNotIn(vs ...int32) predicate.AddressPlace
ZipNotIn applies the NotIn predicate on the "zip" field.
Types ¶
This section is empty.