Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GroupTag) predicate.GroupTag
- func GroupID(v int) predicate.GroupTag
- func GroupIDEQ(v int) predicate.GroupTag
- func GroupIDIn(vs ...int) predicate.GroupTag
- func GroupIDNEQ(v int) predicate.GroupTag
- func GroupIDNotIn(vs ...int) predicate.GroupTag
- func HasGroup() predicate.GroupTag
- func HasGroupWith(preds ...predicate.Group) predicate.GroupTag
- func HasTag() predicate.GroupTag
- func HasTagWith(preds ...predicate.Tag) predicate.GroupTag
- func ID(id int) predicate.GroupTag
- func IDEQ(id int) predicate.GroupTag
- func IDGT(id int) predicate.GroupTag
- func IDGTE(id int) predicate.GroupTag
- func IDIn(ids ...int) predicate.GroupTag
- func IDLT(id int) predicate.GroupTag
- func IDLTE(id int) predicate.GroupTag
- func IDNEQ(id int) predicate.GroupTag
- func IDNotIn(ids ...int) predicate.GroupTag
- func Not(p predicate.GroupTag) predicate.GroupTag
- func Or(predicates ...predicate.GroupTag) predicate.GroupTag
- func TagID(v int) predicate.GroupTag
- func TagIDEQ(v int) predicate.GroupTag
- func TagIDIn(vs ...int) predicate.GroupTag
- func TagIDNEQ(v int) predicate.GroupTag
- func TagIDNotIn(vs ...int) predicate.GroupTag
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldTagID, FieldGroupID, }
Columns holds all SQL columns for grouptag fields.
Functions ¶
func GroupID ¶
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDNEQ ¶
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func HasGroupWith ¶
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func HasTagWith ¶
HasTagWith applies the HasEdge predicate on the "tag" edge with a given conditions (other predicates).
func TagID ¶
TagID applies equality check predicate on the "tag_id" field. It's identical to TagIDEQ.
func TagIDNotIn ¶
TagIDNotIn applies the NotIn predicate on the "tag_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.