Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TeamGroupModel) predicate.TeamGroupModel
- func CreatedAt(v time.Time) predicate.TeamGroupModel
- func CreatedAtEQ(v time.Time) predicate.TeamGroupModel
- func CreatedAtGT(v time.Time) predicate.TeamGroupModel
- func CreatedAtGTE(v time.Time) predicate.TeamGroupModel
- func CreatedAtIn(vs ...time.Time) predicate.TeamGroupModel
- func CreatedAtLT(v time.Time) predicate.TeamGroupModel
- func CreatedAtLTE(v time.Time) predicate.TeamGroupModel
- func CreatedAtNEQ(v time.Time) predicate.TeamGroupModel
- func CreatedAtNotIn(vs ...time.Time) predicate.TeamGroupModel
- func GroupID(v uuid.UUID) predicate.TeamGroupModel
- func GroupIDEQ(v uuid.UUID) predicate.TeamGroupModel
- func GroupIDIn(vs ...uuid.UUID) predicate.TeamGroupModel
- func GroupIDNEQ(v uuid.UUID) predicate.TeamGroupModel
- func GroupIDNotIn(vs ...uuid.UUID) predicate.TeamGroupModel
- func HasGroup() predicate.TeamGroupModel
- func HasGroupWith(preds ...predicate.TeamGroup) predicate.TeamGroupModel
- func HasModel() predicate.TeamGroupModel
- func HasModelWith(preds ...predicate.Model) predicate.TeamGroupModel
- func ID(id uuid.UUID) predicate.TeamGroupModel
- func IDEQ(id uuid.UUID) predicate.TeamGroupModel
- func IDGT(id uuid.UUID) predicate.TeamGroupModel
- func IDGTE(id uuid.UUID) predicate.TeamGroupModel
- func IDIn(ids ...uuid.UUID) predicate.TeamGroupModel
- func IDLT(id uuid.UUID) predicate.TeamGroupModel
- func IDLTE(id uuid.UUID) predicate.TeamGroupModel
- func IDNEQ(id uuid.UUID) predicate.TeamGroupModel
- func IDNotIn(ids ...uuid.UUID) predicate.TeamGroupModel
- func ModelID(v uuid.UUID) predicate.TeamGroupModel
- func ModelIDEQ(v uuid.UUID) predicate.TeamGroupModel
- func ModelIDIn(vs ...uuid.UUID) predicate.TeamGroupModel
- func ModelIDNEQ(v uuid.UUID) predicate.TeamGroupModel
- func ModelIDNotIn(vs ...uuid.UUID) predicate.TeamGroupModel
- func Not(p predicate.TeamGroupModel) predicate.TeamGroupModel
- func Or(predicates ...predicate.TeamGroupModel) predicate.TeamGroupModel
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByModelField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByModelID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the teamgroupmodel type in the database. Label = "team_group_model" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldGroupID holds the string denoting the group_id field in the database. FieldGroupID = "group_id" // FieldModelID holds the string denoting the model_id field in the database. FieldModelID = "model_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeGroup holds the string denoting the group edge name in mutations. EdgeGroup = "group" // EdgeModel holds the string denoting the model edge name in mutations. EdgeModel = "model" // Table holds the table name of the teamgroupmodel in the database. Table = "team_group_models" // GroupTable is the table that holds the group relation/edge. GroupTable = "team_group_models" // GroupInverseTable is the table name for the TeamGroup entity. // It exists in this package in order to avoid circular dependency with the "teamgroup" package. GroupInverseTable = "team_groups" // GroupColumn is the table column denoting the group relation/edge. GroupColumn = "group_id" // ModelTable is the table that holds the model relation/edge. ModelTable = "team_group_models" // ModelInverseTable is the table name for the Model entity. // It exists in this package in order to avoid circular dependency with the "model" package. ModelInverseTable = "models" // ModelColumn is the table column denoting the model relation/edge. ModelColumn = "model_id" )
Variables ¶
var Columns = []string{ FieldID, FieldGroupID, FieldModelID, FieldCreatedAt, }
Columns holds all SQL columns for teamgroupmodel fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
Functions ¶
func And ¶
func And(predicates ...predicate.TeamGroupModel) predicate.TeamGroupModel
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.TeamGroupModel
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.TeamGroupModel
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.TeamGroupModel
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.TeamGroupModel
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.TeamGroupModel
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.TeamGroupModel
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.TeamGroupModel
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.TeamGroupModel
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.TeamGroupModel
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func GroupID ¶
func GroupID(v uuid.UUID) predicate.TeamGroupModel
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDEQ ¶
func GroupIDEQ(v uuid.UUID) predicate.TeamGroupModel
GroupIDEQ applies the EQ predicate on the "group_id" field.
func GroupIDIn ¶
func GroupIDIn(vs ...uuid.UUID) predicate.TeamGroupModel
GroupIDIn applies the In predicate on the "group_id" field.
func GroupIDNEQ ¶
func GroupIDNEQ(v uuid.UUID) predicate.TeamGroupModel
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
func GroupIDNotIn(vs ...uuid.UUID) predicate.TeamGroupModel
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func HasGroup ¶
func HasGroup() predicate.TeamGroupModel
HasGroup applies the HasEdge predicate on the "group" edge.
func HasGroupWith ¶
func HasGroupWith(preds ...predicate.TeamGroup) predicate.TeamGroupModel
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func HasModel ¶
func HasModel() predicate.TeamGroupModel
HasModel applies the HasEdge predicate on the "model" edge.
func HasModelWith ¶
func HasModelWith(preds ...predicate.Model) predicate.TeamGroupModel
HasModelWith applies the HasEdge predicate on the "model" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.TeamGroupModel
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TeamGroupModel
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TeamGroupModel
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TeamGroupModel
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TeamGroupModel
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TeamGroupModel
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TeamGroupModel
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TeamGroupModel
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TeamGroupModel
IDNotIn applies the NotIn predicate on the ID field.
func ModelID ¶
func ModelID(v uuid.UUID) predicate.TeamGroupModel
ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.
func ModelIDEQ ¶
func ModelIDEQ(v uuid.UUID) predicate.TeamGroupModel
ModelIDEQ applies the EQ predicate on the "model_id" field.
func ModelIDIn ¶
func ModelIDIn(vs ...uuid.UUID) predicate.TeamGroupModel
ModelIDIn applies the In predicate on the "model_id" field.
func ModelIDNEQ ¶
func ModelIDNEQ(v uuid.UUID) predicate.TeamGroupModel
ModelIDNEQ applies the NEQ predicate on the "model_id" field.
func ModelIDNotIn ¶
func ModelIDNotIn(vs ...uuid.UUID) predicate.TeamGroupModel
ModelIDNotIn applies the NotIn predicate on the "model_id" field.
func Not ¶
func Not(p predicate.TeamGroupModel) predicate.TeamGroupModel
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TeamGroupModel) predicate.TeamGroupModel
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the TeamGroupModel queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByGroupField ¶
func ByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByGroupField orders the results by group field.
func ByGroupID ¶
func ByGroupID(opts ...sql.OrderTermOption) OrderOption
ByGroupID orders the results by the group_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByModelField ¶
func ByModelField(field string, opts ...sql.OrderTermOption) OrderOption
ByModelField orders the results by model field.
func ByModelID ¶
func ByModelID(opts ...sql.OrderTermOption) OrderOption
ByModelID orders the results by the model_id field.