grouptag

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the grouptag type in the database.
	Label = "group_tag"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTagID holds the string denoting the tag_id field in the database.
	FieldTagID = "tag_id"
	// FieldGroupID holds the string denoting the group_id field in the database.
	FieldGroupID = "group_id"
	// EdgeTag holds the string denoting the tag edge name in mutations.
	EdgeTag = "tag"
	// EdgeGroup holds the string denoting the group edge name in mutations.
	EdgeGroup = "group"
	// Table holds the table name of the grouptag in the database.
	Table = "group_tags"
	// TagTable is the table that holds the tag relation/edge.
	TagTable = "group_tags"
	// TagInverseTable is the table name for the Tag entity.
	// It exists in this package in order to avoid circular dependency with the "tag" package.
	TagInverseTable = "tags"
	// TagColumn is the table column denoting the tag relation/edge.
	TagColumn = "tag_id"
	// GroupTable is the table that holds the group relation/edge.
	GroupTable = "group_tags"
	// GroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupInverseTable = "groups"
	// GroupColumn is the table column denoting the group relation/edge.
	GroupColumn = "group_id"
)

Variables

Columns holds all SQL columns for grouptag fields.

Functions

func And

func And(predicates ...predicate.GroupTag) predicate.GroupTag

And groups predicates with the AND operator between them.

func GroupID

func GroupID(v int) predicate.GroupTag

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

func GroupIDEQ

func GroupIDEQ(v int) predicate.GroupTag

GroupIDEQ applies the EQ predicate on the "group_id" field.

func GroupIDIn

func GroupIDIn(vs ...int) predicate.GroupTag

GroupIDIn applies the In predicate on the "group_id" field.

func GroupIDNEQ

func GroupIDNEQ(v int) predicate.GroupTag

GroupIDNEQ applies the NEQ predicate on the "group_id" field.

func GroupIDNotIn

func GroupIDNotIn(vs ...int) predicate.GroupTag

GroupIDNotIn applies the NotIn predicate on the "group_id" field.

func HasGroup

func HasGroup() predicate.GroupTag

HasGroup applies the HasEdge predicate on the "group" edge.

func HasGroupWith

func HasGroupWith(preds ...predicate.Group) predicate.GroupTag

HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).

func HasTag

func HasTag() predicate.GroupTag

HasTag applies the HasEdge predicate on the "tag" edge.

func HasTagWith

func HasTagWith(preds ...predicate.Tag) predicate.GroupTag

HasTagWith applies the HasEdge predicate on the "tag" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.GroupTag

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.GroupTag

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.GroupTag

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.GroupTag

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.GroupTag

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.GroupTag

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.GroupTag

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.GroupTag

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.GroupTag

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GroupTag) predicate.GroupTag

Or groups predicates with the OR operator between them.

func TagID

func TagID(v int) predicate.GroupTag

TagID applies equality check predicate on the "tag_id" field. It's identical to TagIDEQ.

func TagIDEQ

func TagIDEQ(v int) predicate.GroupTag

TagIDEQ applies the EQ predicate on the "tag_id" field.

func TagIDIn

func TagIDIn(vs ...int) predicate.GroupTag

TagIDIn applies the In predicate on the "tag_id" field.

func TagIDNEQ

func TagIDNEQ(v int) predicate.GroupTag

TagIDNEQ applies the NEQ predicate on the "tag_id" field.

func TagIDNotIn

func TagIDNotIn(vs ...int) predicate.GroupTag

TagIDNotIn applies the NotIn predicate on the "tag_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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