Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Team) predicate.Team
- func HasTeamToCompetition() predicate.Team
- func HasTeamToCompetitionWith(preds ...predicate.Competition) predicate.Team
- func HasTeamToUsers() predicate.Team
- func HasTeamToUsersWith(preds ...predicate.User) predicate.Team
- func HasTeamToVmObjects() predicate.Team
- func HasTeamToVmObjectsWith(preds ...predicate.VmObject) predicate.Team
- func ID(id uuid.UUID) predicate.Team
- func IDEQ(id uuid.UUID) predicate.Team
- func IDGT(id uuid.UUID) predicate.Team
- func IDGTE(id uuid.UUID) predicate.Team
- func IDIn(ids ...uuid.UUID) predicate.Team
- func IDLT(id uuid.UUID) predicate.Team
- func IDLTE(id uuid.UUID) predicate.Team
- func IDNEQ(id uuid.UUID) predicate.Team
- func IDNotIn(ids ...uuid.UUID) predicate.Team
- func Name(v string) predicate.Team
- func NameContains(v string) predicate.Team
- func NameContainsFold(v string) predicate.Team
- func NameEQ(v string) predicate.Team
- func NameEqualFold(v string) predicate.Team
- func NameGT(v string) predicate.Team
- func NameGTE(v string) predicate.Team
- func NameHasPrefix(v string) predicate.Team
- func NameHasSuffix(v string) predicate.Team
- func NameIn(vs ...string) predicate.Team
- func NameIsNil() predicate.Team
- func NameLT(v string) predicate.Team
- func NameLTE(v string) predicate.Team
- func NameNEQ(v string) predicate.Team
- func NameNotIn(vs ...string) predicate.Team
- func NameNotNil() predicate.Team
- func Not(p predicate.Team) predicate.Team
- func Or(predicates ...predicate.Team) predicate.Team
- func TeamNumber(v int) predicate.Team
- func TeamNumberEQ(v int) predicate.Team
- func TeamNumberGT(v int) predicate.Team
- func TeamNumberGTE(v int) predicate.Team
- func TeamNumberIn(vs ...int) predicate.Team
- func TeamNumberLT(v int) predicate.Team
- func TeamNumberLTE(v int) predicate.Team
- func TeamNumberNEQ(v int) predicate.Team
- func TeamNumberNotIn(vs ...int) predicate.Team
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the team type in the database. Label = "team" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldTeamNumber holds the string denoting the team_number field in the database. FieldTeamNumber = "team_number" // FieldName holds the string denoting the name field in the database. FieldName = "name" // EdgeTeamToCompetition holds the string denoting the teamtocompetition edge name in mutations. EdgeTeamToCompetition = "TeamToCompetition" // EdgeTeamToVmObjects holds the string denoting the teamtovmobjects edge name in mutations. EdgeTeamToVmObjects = "TeamToVmObjects" // EdgeTeamToUsers holds the string denoting the teamtousers edge name in mutations. EdgeTeamToUsers = "TeamToUsers" // Table holds the table name of the team in the database. Table = "teams" // TeamToCompetitionTable is the table that holds the TeamToCompetition relation/edge. TeamToCompetitionTable = "teams" // TeamToCompetitionInverseTable is the table name for the Competition entity. // It exists in this package in order to avoid circular dependency with the "competition" package. TeamToCompetitionInverseTable = "competitions" // TeamToCompetitionColumn is the table column denoting the TeamToCompetition relation/edge. TeamToCompetitionColumn = "competition_competition_to_teams" // TeamToVmObjectsTable is the table that holds the TeamToVmObjects relation/edge. TeamToVmObjectsTable = "vm_objects" // TeamToVmObjectsInverseTable is the table name for the VmObject entity. // It exists in this package in order to avoid circular dependency with the "vmobject" package. TeamToVmObjectsInverseTable = "vm_objects" // TeamToVmObjectsColumn is the table column denoting the TeamToVmObjects relation/edge. TeamToVmObjectsColumn = "team_team_to_vm_objects" // TeamToUsersTable is the table that holds the TeamToUsers relation/edge. TeamToUsersTable = "users" // TeamToUsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. TeamToUsersInverseTable = "users" // TeamToUsersColumn is the table column denoting the TeamToUsers relation/edge. TeamToUsersColumn = "team_team_to_users" )
Variables ¶
var Columns = []string{ FieldID, FieldTeamNumber, FieldName, }
Columns holds all SQL columns for team fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var ForeignKeys = []string{
"competition_competition_to_teams",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "teams" table and are not defined as standalone fields in the schema.
Functions ¶
func HasTeamToCompetition ¶
HasTeamToCompetition applies the HasEdge predicate on the "TeamToCompetition" edge.
func HasTeamToCompetitionWith ¶
func HasTeamToCompetitionWith(preds ...predicate.Competition) predicate.Team
HasTeamToCompetitionWith applies the HasEdge predicate on the "TeamToCompetition" edge with a given conditions (other predicates).
func HasTeamToUsers ¶
HasTeamToUsers applies the HasEdge predicate on the "TeamToUsers" edge.
func HasTeamToUsersWith ¶
HasTeamToUsersWith applies the HasEdge predicate on the "TeamToUsers" edge with a given conditions (other predicates).
func HasTeamToVmObjects ¶
HasTeamToVmObjects applies the HasEdge predicate on the "TeamToVmObjects" edge.
func HasTeamToVmObjectsWith ¶
HasTeamToVmObjectsWith applies the HasEdge predicate on the "TeamToVmObjects" 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 NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func TeamNumber ¶
TeamNumber applies equality check predicate on the "team_number" field. It's identical to TeamNumberEQ.
func TeamNumberEQ ¶
TeamNumberEQ applies the EQ predicate on the "team_number" field.
func TeamNumberGT ¶
TeamNumberGT applies the GT predicate on the "team_number" field.
func TeamNumberGTE ¶
TeamNumberGTE applies the GTE predicate on the "team_number" field.
func TeamNumberIn ¶
TeamNumberIn applies the In predicate on the "team_number" field.
func TeamNumberLT ¶
TeamNumberLT applies the LT predicate on the "team_number" field.
func TeamNumberLTE ¶
TeamNumberLTE applies the LTE predicate on the "team_number" field.
func TeamNumberNEQ ¶
TeamNumberNEQ applies the NEQ predicate on the "team_number" field.
func TeamNumberNotIn ¶
TeamNumberNotIn applies the NotIn predicate on the "team_number" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.