Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Branch) predicate.Branch
- func BranchCode(v string) predicate.Branch
- func BranchCodeContains(v string) predicate.Branch
- func BranchCodeContainsFold(v string) predicate.Branch
- func BranchCodeEQ(v string) predicate.Branch
- func BranchCodeEqualFold(v string) predicate.Branch
- func BranchCodeGT(v string) predicate.Branch
- func BranchCodeGTE(v string) predicate.Branch
- func BranchCodeHasPrefix(v string) predicate.Branch
- func BranchCodeHasSuffix(v string) predicate.Branch
- func BranchCodeIn(vs ...string) predicate.Branch
- func BranchCodeLT(v string) predicate.Branch
- func BranchCodeLTE(v string) predicate.Branch
- func BranchCodeNEQ(v string) predicate.Branch
- func BranchCodeNotIn(vs ...string) predicate.Branch
- func City(v string) predicate.Branch
- func CityContains(v string) predicate.Branch
- func CityContainsFold(v string) predicate.Branch
- func CityEQ(v string) predicate.Branch
- func CityEqualFold(v string) predicate.Branch
- func CityGT(v string) predicate.Branch
- func CityGTE(v string) predicate.Branch
- func CityHasPrefix(v string) predicate.Branch
- func CityHasSuffix(v string) predicate.Branch
- func CityIn(vs ...string) predicate.Branch
- func CityLT(v string) predicate.Branch
- func CityLTE(v string) predicate.Branch
- func CityNEQ(v string) predicate.Branch
- func CityNotIn(vs ...string) predicate.Branch
- func HasOwner() predicate.Branch
- func HasOwnerWith(preds ...predicate.Bank) predicate.Branch
- func ID(id int) predicate.Branch
- func IDEQ(id int) predicate.Branch
- func IDGT(id int) predicate.Branch
- func IDGTE(id int) predicate.Branch
- func IDIn(ids ...int) predicate.Branch
- func IDLT(id int) predicate.Branch
- func IDLTE(id int) predicate.Branch
- func IDNEQ(id int) predicate.Branch
- func IDNotIn(ids ...int) predicate.Branch
- func Latitude(v float64) predicate.Branch
- func LatitudeEQ(v float64) predicate.Branch
- func LatitudeGT(v float64) predicate.Branch
- func LatitudeGTE(v float64) predicate.Branch
- func LatitudeIn(vs ...float64) predicate.Branch
- func LatitudeLT(v float64) predicate.Branch
- func LatitudeLTE(v float64) predicate.Branch
- func LatitudeNEQ(v float64) predicate.Branch
- func LatitudeNotIn(vs ...float64) predicate.Branch
- func Longitude(v float64) predicate.Branch
- func LongitudeEQ(v float64) predicate.Branch
- func LongitudeGT(v float64) predicate.Branch
- func LongitudeGTE(v float64) predicate.Branch
- func LongitudeIn(vs ...float64) predicate.Branch
- func LongitudeLT(v float64) predicate.Branch
- func LongitudeLTE(v float64) predicate.Branch
- func LongitudeNEQ(v float64) predicate.Branch
- func LongitudeNotIn(vs ...float64) predicate.Branch
- func Not(p predicate.Branch) predicate.Branch
- func Or(predicates ...predicate.Branch) predicate.Branch
- func State(v string) predicate.Branch
- func StateContains(v string) predicate.Branch
- func StateContainsFold(v string) predicate.Branch
- func StateEQ(v string) predicate.Branch
- func StateEqualFold(v string) predicate.Branch
- func StateGT(v string) predicate.Branch
- func StateGTE(v string) predicate.Branch
- func StateHasPrefix(v string) predicate.Branch
- func StateHasSuffix(v string) predicate.Branch
- func StateIn(vs ...string) predicate.Branch
- func StateLT(v string) predicate.Branch
- func StateLTE(v string) predicate.Branch
- func StateNEQ(v string) predicate.Branch
- func StateNotIn(vs ...string) predicate.Branch
- func StreetName(v string) predicate.Branch
- func StreetNameContains(v string) predicate.Branch
- func StreetNameContainsFold(v string) predicate.Branch
- func StreetNameEQ(v string) predicate.Branch
- func StreetNameEqualFold(v string) predicate.Branch
- func StreetNameGT(v string) predicate.Branch
- func StreetNameGTE(v string) predicate.Branch
- func StreetNameHasPrefix(v string) predicate.Branch
- func StreetNameHasSuffix(v string) predicate.Branch
- func StreetNameIn(vs ...string) predicate.Branch
- func StreetNameLT(v string) predicate.Branch
- func StreetNameLTE(v string) predicate.Branch
- func StreetNameNEQ(v string) predicate.Branch
- func StreetNameNotIn(vs ...string) predicate.Branch
- func StreetNumber(v string) predicate.Branch
- func StreetNumberContains(v string) predicate.Branch
- func StreetNumberContainsFold(v string) predicate.Branch
- func StreetNumberEQ(v string) predicate.Branch
- func StreetNumberEqualFold(v string) predicate.Branch
- func StreetNumberGT(v string) predicate.Branch
- func StreetNumberGTE(v string) predicate.Branch
- func StreetNumberHasPrefix(v string) predicate.Branch
- func StreetNumberHasSuffix(v string) predicate.Branch
- func StreetNumberIn(vs ...string) predicate.Branch
- func StreetNumberLT(v string) predicate.Branch
- func StreetNumberLTE(v string) predicate.Branch
- func StreetNumberNEQ(v string) predicate.Branch
- func StreetNumberNotIn(vs ...string) predicate.Branch
- func ValidColumn(column string) bool
- func Zip(v string) predicate.Branch
- func ZipContains(v string) predicate.Branch
- func ZipContainsFold(v string) predicate.Branch
- func ZipEQ(v string) predicate.Branch
- func ZipEqualFold(v string) predicate.Branch
- func ZipGT(v string) predicate.Branch
- func ZipGTE(v string) predicate.Branch
- func ZipHasPrefix(v string) predicate.Branch
- func ZipHasSuffix(v string) predicate.Branch
- func ZipIn(vs ...string) predicate.Branch
- func ZipLT(v string) predicate.Branch
- func ZipLTE(v string) predicate.Branch
- func ZipNEQ(v string) predicate.Branch
- func ZipNotIn(vs ...string) predicate.Branch
Constants ¶
const ( // Label holds the string label denoting the branch type in the database. Label = "branch" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBranchCode holds the string denoting the branchcode field in the database. FieldBranchCode = "branch_code" // FieldStreetNumber holds the string denoting the streetnumber field in the database. FieldStreetNumber = "street_number" // FieldStreetName holds the string denoting the streetname field in the database. FieldStreetName = "street_name" // FieldCity holds the string denoting the city field in the database. FieldCity = "city" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldZip holds the string denoting the zip field in the database. FieldZip = "zip" // FieldLatitude holds the string denoting the latitude field in the database. FieldLatitude = "latitude" // FieldLongitude holds the string denoting the longitude field in the database. FieldLongitude = "longitude" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the branch in the database. Table = "branches" // OwnerTable is the table the holds the owner relation/edge. OwnerTable = "branches" // OwnerInverseTable is the table name for the Bank entity. // It exists in this package in order to avoid circular dependency with the "bank" package. OwnerInverseTable = "banks" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "bank_branches" )
Variables ¶
var Columns = []string{ FieldID, FieldBranchCode, FieldStreetNumber, FieldStreetName, FieldCity, FieldState, FieldZip, FieldLatitude, FieldLongitude, }
Columns holds all SQL columns for branch fields.
var ForeignKeys = []string{
"bank_branches",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "branches" table and are not defined as standalone fields in the schema.
var ( // StateValidator is a validator for the "state" field. It is called by the builders before save. StateValidator func(string) error )
Functions ¶
func BranchCode ¶
BranchCode applies equality check predicate on the "branchCode" field. It's identical to BranchCodeEQ.
func BranchCodeContains ¶
BranchCodeContains applies the Contains predicate on the "branchCode" field.
func BranchCodeContainsFold ¶
BranchCodeContainsFold applies the ContainsFold predicate on the "branchCode" field.
func BranchCodeEQ ¶
BranchCodeEQ applies the EQ predicate on the "branchCode" field.
func BranchCodeEqualFold ¶
BranchCodeEqualFold applies the EqualFold predicate on the "branchCode" field.
func BranchCodeGT ¶
BranchCodeGT applies the GT predicate on the "branchCode" field.
func BranchCodeGTE ¶
BranchCodeGTE applies the GTE predicate on the "branchCode" field.
func BranchCodeHasPrefix ¶
BranchCodeHasPrefix applies the HasPrefix predicate on the "branchCode" field.
func BranchCodeHasSuffix ¶
BranchCodeHasSuffix applies the HasSuffix predicate on the "branchCode" field.
func BranchCodeIn ¶
BranchCodeIn applies the In predicate on the "branchCode" field.
func BranchCodeLT ¶
BranchCodeLT applies the LT predicate on the "branchCode" field.
func BranchCodeLTE ¶
BranchCodeLTE applies the LTE predicate on the "branchCode" field.
func BranchCodeNEQ ¶
BranchCodeNEQ applies the NEQ predicate on the "branchCode" field.
func BranchCodeNotIn ¶
BranchCodeNotIn applies the NotIn predicate on the "branchCode" field.
func CityContains ¶
CityContains applies the Contains predicate on the "city" field.
func CityContainsFold ¶
CityContainsFold applies the ContainsFold predicate on the "city" field.
func CityEqualFold ¶
CityEqualFold applies the EqualFold predicate on the "city" field.
func CityHasPrefix ¶
CityHasPrefix applies the HasPrefix predicate on the "city" field.
func CityHasSuffix ¶
CityHasSuffix applies the HasSuffix predicate on the "city" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func Latitude ¶
Latitude applies equality check predicate on the "latitude" field. It's identical to LatitudeEQ.
func LatitudeEQ ¶
LatitudeEQ applies the EQ predicate on the "latitude" field.
func LatitudeGT ¶
LatitudeGT applies the GT predicate on the "latitude" field.
func LatitudeGTE ¶
LatitudeGTE applies the GTE predicate on the "latitude" field.
func LatitudeIn ¶
LatitudeIn applies the In predicate on the "latitude" field.
func LatitudeLT ¶
LatitudeLT applies the LT predicate on the "latitude" field.
func LatitudeLTE ¶
LatitudeLTE applies the LTE predicate on the "latitude" field.
func LatitudeNEQ ¶
LatitudeNEQ applies the NEQ predicate on the "latitude" field.
func LatitudeNotIn ¶
LatitudeNotIn applies the NotIn predicate on the "latitude" field.
func Longitude ¶
Longitude applies equality check predicate on the "longitude" field. It's identical to LongitudeEQ.
func LongitudeEQ ¶
LongitudeEQ applies the EQ predicate on the "longitude" field.
func LongitudeGT ¶
LongitudeGT applies the GT predicate on the "longitude" field.
func LongitudeGTE ¶
LongitudeGTE applies the GTE predicate on the "longitude" field.
func LongitudeIn ¶
LongitudeIn applies the In predicate on the "longitude" field.
func LongitudeLT ¶
LongitudeLT applies the LT predicate on the "longitude" field.
func LongitudeLTE ¶
LongitudeLTE applies the LTE predicate on the "longitude" field.
func LongitudeNEQ ¶
LongitudeNEQ applies the NEQ predicate on the "longitude" field.
func LongitudeNotIn ¶
LongitudeNotIn applies the NotIn predicate on the "longitude" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateContains ¶
StateContains applies the Contains predicate on the "state" field.
func StateContainsFold ¶
StateContainsFold applies the ContainsFold predicate on the "state" field.
func StateEqualFold ¶
StateEqualFold applies the EqualFold predicate on the "state" field.
func StateHasPrefix ¶
StateHasPrefix applies the HasPrefix predicate on the "state" field.
func StateHasSuffix ¶
StateHasSuffix applies the HasSuffix predicate on the "state" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func StreetName ¶
StreetName applies equality check predicate on the "streetName" field. It's identical to StreetNameEQ.
func StreetNameContains ¶
StreetNameContains applies the Contains predicate on the "streetName" field.
func StreetNameContainsFold ¶
StreetNameContainsFold applies the ContainsFold predicate on the "streetName" field.
func StreetNameEQ ¶
StreetNameEQ applies the EQ predicate on the "streetName" field.
func StreetNameEqualFold ¶
StreetNameEqualFold applies the EqualFold predicate on the "streetName" field.
func StreetNameGT ¶
StreetNameGT applies the GT predicate on the "streetName" field.
func StreetNameGTE ¶
StreetNameGTE applies the GTE predicate on the "streetName" field.
func StreetNameHasPrefix ¶
StreetNameHasPrefix applies the HasPrefix predicate on the "streetName" field.
func StreetNameHasSuffix ¶
StreetNameHasSuffix applies the HasSuffix predicate on the "streetName" field.
func StreetNameIn ¶
StreetNameIn applies the In predicate on the "streetName" field.
func StreetNameLT ¶
StreetNameLT applies the LT predicate on the "streetName" field.
func StreetNameLTE ¶
StreetNameLTE applies the LTE predicate on the "streetName" field.
func StreetNameNEQ ¶
StreetNameNEQ applies the NEQ predicate on the "streetName" field.
func StreetNameNotIn ¶
StreetNameNotIn applies the NotIn predicate on the "streetName" field.
func StreetNumber ¶
StreetNumber applies equality check predicate on the "streetNumber" field. It's identical to StreetNumberEQ.
func StreetNumberContains ¶
StreetNumberContains applies the Contains predicate on the "streetNumber" field.
func StreetNumberContainsFold ¶
StreetNumberContainsFold applies the ContainsFold predicate on the "streetNumber" field.
func StreetNumberEQ ¶
StreetNumberEQ applies the EQ predicate on the "streetNumber" field.
func StreetNumberEqualFold ¶
StreetNumberEqualFold applies the EqualFold predicate on the "streetNumber" field.
func StreetNumberGT ¶
StreetNumberGT applies the GT predicate on the "streetNumber" field.
func StreetNumberGTE ¶
StreetNumberGTE applies the GTE predicate on the "streetNumber" field.
func StreetNumberHasPrefix ¶
StreetNumberHasPrefix applies the HasPrefix predicate on the "streetNumber" field.
func StreetNumberHasSuffix ¶
StreetNumberHasSuffix applies the HasSuffix predicate on the "streetNumber" field.
func StreetNumberIn ¶
StreetNumberIn applies the In predicate on the "streetNumber" field.
func StreetNumberLT ¶
StreetNumberLT applies the LT predicate on the "streetNumber" field.
func StreetNumberLTE ¶
StreetNumberLTE applies the LTE predicate on the "streetNumber" field.
func StreetNumberNEQ ¶
StreetNumberNEQ applies the NEQ predicate on the "streetNumber" field.
func StreetNumberNotIn ¶
StreetNumberNotIn applies the NotIn predicate on the "streetNumber" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ZipContains ¶
ZipContains applies the Contains predicate on the "zip" field.
func ZipContainsFold ¶
ZipContainsFold applies the ContainsFold predicate on the "zip" field.
func ZipEqualFold ¶
ZipEqualFold applies the EqualFold predicate on the "zip" field.
func ZipHasPrefix ¶
ZipHasPrefix applies the HasPrefix predicate on the "zip" field.
func ZipHasSuffix ¶
ZipHasSuffix applies the HasSuffix predicate on the "zip" field.
Types ¶
This section is empty.