Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RoutingNumber) predicate.RoutingNumber
- func ID(id int) predicate.RoutingNumber
- func IDEQ(id int) predicate.RoutingNumber
- func IDGT(id int) predicate.RoutingNumber
- func IDGTE(id int) predicate.RoutingNumber
- func IDIn(ids ...int) predicate.RoutingNumber
- func IDLT(id int) predicate.RoutingNumber
- func IDLTE(id int) predicate.RoutingNumber
- func IDNEQ(id int) predicate.RoutingNumber
- func IDNotIn(ids ...int) predicate.RoutingNumber
- func Not(p predicate.RoutingNumber) predicate.RoutingNumber
- func Number(v string) predicate.RoutingNumber
- func NumberContains(v string) predicate.RoutingNumber
- func NumberContainsFold(v string) predicate.RoutingNumber
- func NumberEQ(v string) predicate.RoutingNumber
- func NumberEqualFold(v string) predicate.RoutingNumber
- func NumberGT(v string) predicate.RoutingNumber
- func NumberGTE(v string) predicate.RoutingNumber
- func NumberHasPrefix(v string) predicate.RoutingNumber
- func NumberHasSuffix(v string) predicate.RoutingNumber
- func NumberIn(vs ...string) predicate.RoutingNumber
- func NumberLT(v string) predicate.RoutingNumber
- func NumberLTE(v string) predicate.RoutingNumber
- func NumberNEQ(v string) predicate.RoutingNumber
- func NumberNotIn(vs ...string) predicate.RoutingNumber
- func Or(predicates ...predicate.RoutingNumber) predicate.RoutingNumber
- func TypeEQ(v Type) predicate.RoutingNumber
- func TypeIn(vs ...Type) predicate.RoutingNumber
- func TypeNEQ(v Type) predicate.RoutingNumber
- func TypeNotIn(vs ...Type) predicate.RoutingNumber
- func TypeValidator(_type Type) error
- func ValidColumn(column string) bool
- type Type
Constants ¶
const ( // Label holds the string label denoting the routingnumber type in the database. Label = "routing_number" // 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" // FieldType holds the string denoting the type field in the database. FieldType = "type" // Table holds the table name of the routingnumber in the database. Table = "routing_numbers" )
Variables ¶
var Columns = []string{ FieldID, FieldNumber, FieldType, }
Columns holds all SQL columns for routingnumber fields.
var ForeignKeys = []string{
"account_routingnumbers",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "routing_numbers" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.RoutingNumber) predicate.RoutingNumber
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id int) predicate.RoutingNumber
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.RoutingNumber
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.RoutingNumber
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.RoutingNumber
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.RoutingNumber
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.RoutingNumber
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.RoutingNumber
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.RoutingNumber
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.RoutingNumber) predicate.RoutingNumber
Not applies the not operator on the given predicate.
func Number ¶
func Number(v string) predicate.RoutingNumber
Number applies equality check predicate on the "number" field. It's identical to NumberEQ.
func NumberContains ¶
func NumberContains(v string) predicate.RoutingNumber
NumberContains applies the Contains predicate on the "number" field.
func NumberContainsFold ¶
func NumberContainsFold(v string) predicate.RoutingNumber
NumberContainsFold applies the ContainsFold predicate on the "number" field.
func NumberEQ ¶
func NumberEQ(v string) predicate.RoutingNumber
NumberEQ applies the EQ predicate on the "number" field.
func NumberEqualFold ¶
func NumberEqualFold(v string) predicate.RoutingNumber
NumberEqualFold applies the EqualFold predicate on the "number" field.
func NumberGT ¶
func NumberGT(v string) predicate.RoutingNumber
NumberGT applies the GT predicate on the "number" field.
func NumberGTE ¶
func NumberGTE(v string) predicate.RoutingNumber
NumberGTE applies the GTE predicate on the "number" field.
func NumberHasPrefix ¶
func NumberHasPrefix(v string) predicate.RoutingNumber
NumberHasPrefix applies the HasPrefix predicate on the "number" field.
func NumberHasSuffix ¶
func NumberHasSuffix(v string) predicate.RoutingNumber
NumberHasSuffix applies the HasSuffix predicate on the "number" field.
func NumberIn ¶
func NumberIn(vs ...string) predicate.RoutingNumber
NumberIn applies the In predicate on the "number" field.
func NumberLT ¶
func NumberLT(v string) predicate.RoutingNumber
NumberLT applies the LT predicate on the "number" field.
func NumberLTE ¶
func NumberLTE(v string) predicate.RoutingNumber
NumberLTE applies the LTE predicate on the "number" field.
func NumberNEQ ¶
func NumberNEQ(v string) predicate.RoutingNumber
NumberNEQ applies the NEQ predicate on the "number" field.
func NumberNotIn ¶
func NumberNotIn(vs ...string) predicate.RoutingNumber
NumberNotIn applies the NotIn predicate on the "number" field.
func Or ¶
func Or(predicates ...predicate.RoutingNumber) predicate.RoutingNumber
Or groups predicates with the OR operator between them.
func TypeEQ ¶
func TypeEQ(v Type) predicate.RoutingNumber
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...Type) predicate.RoutingNumber
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v Type) predicate.RoutingNumber
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...Type) predicate.RoutingNumber
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).