teamgroupmcpupstream

package
v0.0.0-...-7f647c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for teamgroupmcpupstream fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.

func GroupIDEQ

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

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

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

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func TeamID

TeamID applies equality check predicate on the "team_id" field. It's identical to TeamIDEQ.

func TeamIDEQ

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

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

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL