Documentation
¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Campus
- func AddressContains(v string) predicate.Campus
- func AddressContainsFold(v string) predicate.Campus
- func AddressEQ(v string) predicate.Campus
- func AddressEqualFold(v string) predicate.Campus
- func AddressGT(v string) predicate.Campus
- func AddressGTE(v string) predicate.Campus
- func AddressHasPrefix(v string) predicate.Campus
- func AddressHasSuffix(v string) predicate.Campus
- func AddressIn(vs ...string) predicate.Campus
- func AddressLT(v string) predicate.Campus
- func AddressLTE(v string) predicate.Campus
- func AddressNEQ(v string) predicate.Campus
- func AddressNotIn(vs ...string) predicate.Campus
- func And(predicates ...predicate.Campus) predicate.Campus
- func HasClass() predicate.Campus
- func HasClassWith(preds ...predicate.Class) predicate.Campus
- func ID(id int) predicate.Campus
- func IDEQ(id int) predicate.Campus
- func IDGT(id int) predicate.Campus
- func IDGTE(id int) predicate.Campus
- func IDIn(ids ...int) predicate.Campus
- func IDLT(id int) predicate.Campus
- func IDLTE(id int) predicate.Campus
- func IDNEQ(id int) predicate.Campus
- func IDNotIn(ids ...int) predicate.Campus
- func Name(v string) predicate.Campus
- func NameContains(v string) predicate.Campus
- func NameContainsFold(v string) predicate.Campus
- func NameEQ(v string) predicate.Campus
- func NameEqualFold(v string) predicate.Campus
- func NameGT(v string) predicate.Campus
- func NameGTE(v string) predicate.Campus
- func NameHasPrefix(v string) predicate.Campus
- func NameHasSuffix(v string) predicate.Campus
- func NameIn(vs ...string) predicate.Campus
- func NameLT(v string) predicate.Campus
- func NameLTE(v string) predicate.Campus
- func NameNEQ(v string) predicate.Campus
- func NameNotIn(vs ...string) predicate.Campus
- func Not(p predicate.Campus) predicate.Campus
- func Or(predicates ...predicate.Campus) predicate.Campus
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the campus type in the database. Label = "campus" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // EdgeClass holds the string denoting the class edge name in mutations. EdgeClass = "class" // Table holds the table name of the campus in the database. Table = "campus" // ClassTable is the table that holds the class relation/edge. ClassTable = "classes" // ClassInverseTable is the table name for the Class entity. // It exists in this package in order to avoid circular dependency with the "class" package. ClassInverseTable = "classes" // ClassColumn is the table column denoting the class relation/edge. ClassColumn = "campus_class" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldAddress, }
Columns holds all SQL columns for campus fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func HasClassWith ¶
HasClassWith applies the HasEdge predicate on the "class" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.