Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TeamGroupMCPUpstream) predicate.TeamGroupMCPUpstream
- func CreatedAt(v time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtEQ(v time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtGT(v time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtGTE(v time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtLT(v time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtLTE(v time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtNEQ(v time.Time) predicate.TeamGroupMCPUpstream
- func CreatedAtNotIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
- func GroupID(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func GroupIDEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func GroupIDIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
- func GroupIDNEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func GroupIDNotIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
- func HasGroup() predicate.TeamGroupMCPUpstream
- func HasGroupWith(preds ...predicate.TeamGroup) predicate.TeamGroupMCPUpstream
- func HasTeam() predicate.TeamGroupMCPUpstream
- func HasTeamWith(preds ...predicate.Team) predicate.TeamGroupMCPUpstream
- func HasUpstream() predicate.TeamGroupMCPUpstream
- func HasUpstreamWith(preds ...predicate.MCPUpstream) predicate.TeamGroupMCPUpstream
- func ID(id uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDEQ(id uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDGT(id uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDGTE(id uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDIn(ids ...uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDLT(id uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDLTE(id uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDNEQ(id uuid.UUID) predicate.TeamGroupMCPUpstream
- func IDNotIn(ids ...uuid.UUID) predicate.TeamGroupMCPUpstream
- func Not(p predicate.TeamGroupMCPUpstream) predicate.TeamGroupMCPUpstream
- func Or(predicates ...predicate.TeamGroupMCPUpstream) predicate.TeamGroupMCPUpstream
- func TeamID(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func TeamIDEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func TeamIDIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
- func TeamIDNEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func TeamIDNotIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
- func UpdatedAt(v time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtEQ(v time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtGT(v time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtGTE(v time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtLT(v time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtLTE(v time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtNEQ(v time.Time) predicate.TeamGroupMCPUpstream
- func UpdatedAtNotIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
- func UpstreamID(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func UpstreamIDEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func UpstreamIDIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
- func UpstreamIDNEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
- func UpstreamIDNotIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
- 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 ByTeamField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTeamID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpstreamField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUpstreamID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the teamgroupmcpupstream type in the database. Label = "team_group_mcp_upstream" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTeamID holds the string denoting the team_id field in the database. FieldTeamID = "team_id" // FieldGroupID holds the string denoting the group_id field in the database. FieldGroupID = "group_id" // FieldUpstreamID holds the string denoting the upstream_id field in the database. FieldUpstreamID = "upstream_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeTeam holds the string denoting the team edge name in mutations. EdgeTeam = "team" // EdgeGroup holds the string denoting the group edge name in mutations. EdgeGroup = "group" // EdgeUpstream holds the string denoting the upstream edge name in mutations. EdgeUpstream = "upstream" // Table holds the table name of the teamgroupmcpupstream in the database. Table = "team_group_mcp_upstreams" // TeamTable is the table that holds the team relation/edge. TeamTable = "team_group_mcp_upstreams" // TeamInverseTable is the table name for the Team entity. // It exists in this package in order to avoid circular dependency with the "team" package. TeamInverseTable = "teams" // TeamColumn is the table column denoting the team relation/edge. TeamColumn = "team_id" // GroupTable is the table that holds the group relation/edge. GroupTable = "team_group_mcp_upstreams" // 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" // UpstreamTable is the table that holds the upstream relation/edge. UpstreamTable = "team_group_mcp_upstreams" // UpstreamInverseTable is the table name for the MCPUpstream entity. // It exists in this package in order to avoid circular dependency with the "mcpupstream" package. UpstreamInverseTable = "mcp_upstreams" // UpstreamColumn is the table column denoting the upstream relation/edge. UpstreamColumn = "upstream_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldTeamID, FieldGroupID, FieldUpstreamID, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for teamgroupmcpupstream fields.
Functions ¶
func And ¶
func And(predicates ...predicate.TeamGroupMCPUpstream) predicate.TeamGroupMCPUpstream
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.TeamGroupMCPUpstream
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.TeamGroupMCPUpstream
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.TeamGroupMCPUpstream
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.TeamGroupMCPUpstream
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.TeamGroupMCPUpstream
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.TeamGroupMCPUpstream
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.TeamGroupMCPUpstream
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func GroupID ¶
func GroupID(v uuid.UUID) predicate.TeamGroupMCPUpstream
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDEQ ¶
func GroupIDEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
GroupIDEQ applies the EQ predicate on the "group_id" field.
func GroupIDIn ¶
func GroupIDIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
GroupIDIn applies the In predicate on the "group_id" field.
func GroupIDNEQ ¶
func GroupIDNEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
func GroupIDNotIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func HasGroup ¶
func HasGroup() predicate.TeamGroupMCPUpstream
HasGroup applies the HasEdge predicate on the "group" edge.
func HasGroupWith ¶
func HasGroupWith(preds ...predicate.TeamGroup) predicate.TeamGroupMCPUpstream
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func HasTeam ¶
func HasTeam() predicate.TeamGroupMCPUpstream
HasTeam applies the HasEdge predicate on the "team" edge.
func HasTeamWith ¶
func HasTeamWith(preds ...predicate.Team) predicate.TeamGroupMCPUpstream
HasTeamWith applies the HasEdge predicate on the "team" edge with a given conditions (other predicates).
func HasUpstream ¶
func HasUpstream() predicate.TeamGroupMCPUpstream
HasUpstream applies the HasEdge predicate on the "upstream" edge.
func HasUpstreamWith ¶
func HasUpstreamWith(preds ...predicate.MCPUpstream) predicate.TeamGroupMCPUpstream
HasUpstreamWith applies the HasEdge predicate on the "upstream" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.TeamGroupMCPUpstream
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TeamGroupMCPUpstream
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TeamGroupMCPUpstream
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TeamGroupMCPUpstream
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TeamGroupMCPUpstream
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TeamGroupMCPUpstream
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TeamGroupMCPUpstream
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TeamGroupMCPUpstream
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TeamGroupMCPUpstream
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.TeamGroupMCPUpstream) predicate.TeamGroupMCPUpstream
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TeamGroupMCPUpstream) predicate.TeamGroupMCPUpstream
Or groups predicates with the OR operator between them.
func TeamID ¶
func TeamID(v uuid.UUID) predicate.TeamGroupMCPUpstream
TeamID applies equality check predicate on the "team_id" field. It's identical to TeamIDEQ.
func TeamIDEQ ¶
func TeamIDEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
TeamIDEQ applies the EQ predicate on the "team_id" field.
func TeamIDIn ¶
func TeamIDIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
TeamIDIn applies the In predicate on the "team_id" field.
func TeamIDNEQ ¶
func TeamIDNEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
TeamIDNEQ applies the NEQ predicate on the "team_id" field.
func TeamIDNotIn ¶
func TeamIDNotIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
TeamIDNotIn applies the NotIn predicate on the "team_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.TeamGroupMCPUpstream
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.TeamGroupMCPUpstream
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpstreamID ¶
func UpstreamID(v uuid.UUID) predicate.TeamGroupMCPUpstream
UpstreamID applies equality check predicate on the "upstream_id" field. It's identical to UpstreamIDEQ.
func UpstreamIDEQ ¶
func UpstreamIDEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
UpstreamIDEQ applies the EQ predicate on the "upstream_id" field.
func UpstreamIDIn ¶
func UpstreamIDIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
UpstreamIDIn applies the In predicate on the "upstream_id" field.
func UpstreamIDNEQ ¶
func UpstreamIDNEQ(v uuid.UUID) predicate.TeamGroupMCPUpstream
UpstreamIDNEQ applies the NEQ predicate on the "upstream_id" field.
func UpstreamIDNotIn ¶
func UpstreamIDNotIn(vs ...uuid.UUID) predicate.TeamGroupMCPUpstream
UpstreamIDNotIn applies the NotIn predicate on the "upstream_id" field.
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 TeamGroupMCPUpstream 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 ByTeamField ¶
func ByTeamField(field string, opts ...sql.OrderTermOption) OrderOption
ByTeamField orders the results by team field.
func ByTeamID ¶
func ByTeamID(opts ...sql.OrderTermOption) OrderOption
ByTeamID orders the results by the team_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpstreamField ¶
func ByUpstreamField(field string, opts ...sql.OrderTermOption) OrderOption
ByUpstreamField orders the results by upstream field.
func ByUpstreamID ¶
func ByUpstreamID(opts ...sql.OrderTermOption) OrderOption
ByUpstreamID orders the results by the upstream_id field.