Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TeamGroupImage) predicate.TeamGroupImage
- func CreatedAt(v time.Time) predicate.TeamGroupImage
- func CreatedAtEQ(v time.Time) predicate.TeamGroupImage
- func CreatedAtGT(v time.Time) predicate.TeamGroupImage
- func CreatedAtGTE(v time.Time) predicate.TeamGroupImage
- func CreatedAtIn(vs ...time.Time) predicate.TeamGroupImage
- func CreatedAtLT(v time.Time) predicate.TeamGroupImage
- func CreatedAtLTE(v time.Time) predicate.TeamGroupImage
- func CreatedAtNEQ(v time.Time) predicate.TeamGroupImage
- func CreatedAtNotIn(vs ...time.Time) predicate.TeamGroupImage
- func GroupID(v uuid.UUID) predicate.TeamGroupImage
- func GroupIDEQ(v uuid.UUID) predicate.TeamGroupImage
- func GroupIDIn(vs ...uuid.UUID) predicate.TeamGroupImage
- func GroupIDNEQ(v uuid.UUID) predicate.TeamGroupImage
- func GroupIDNotIn(vs ...uuid.UUID) predicate.TeamGroupImage
- func HasGroup() predicate.TeamGroupImage
- func HasGroupWith(preds ...predicate.TeamGroup) predicate.TeamGroupImage
- func HasImage() predicate.TeamGroupImage
- func HasImageWith(preds ...predicate.Image) predicate.TeamGroupImage
- func ID(id uuid.UUID) predicate.TeamGroupImage
- func IDEQ(id uuid.UUID) predicate.TeamGroupImage
- func IDGT(id uuid.UUID) predicate.TeamGroupImage
- func IDGTE(id uuid.UUID) predicate.TeamGroupImage
- func IDIn(ids ...uuid.UUID) predicate.TeamGroupImage
- func IDLT(id uuid.UUID) predicate.TeamGroupImage
- func IDLTE(id uuid.UUID) predicate.TeamGroupImage
- func IDNEQ(id uuid.UUID) predicate.TeamGroupImage
- func IDNotIn(ids ...uuid.UUID) predicate.TeamGroupImage
- func ImageID(v uuid.UUID) predicate.TeamGroupImage
- func ImageIDEQ(v uuid.UUID) predicate.TeamGroupImage
- func ImageIDIn(vs ...uuid.UUID) predicate.TeamGroupImage
- func ImageIDNEQ(v uuid.UUID) predicate.TeamGroupImage
- func ImageIDNotIn(vs ...uuid.UUID) predicate.TeamGroupImage
- func Not(p predicate.TeamGroupImage) predicate.TeamGroupImage
- func Or(predicates ...predicate.TeamGroupImage) predicate.TeamGroupImage
- 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 ByImageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByImageID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the teamgroupimage type in the database. Label = "team_group_image" // 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" // FieldImageID holds the string denoting the image_id field in the database. FieldImageID = "image_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" // EdgeImage holds the string denoting the image edge name in mutations. EdgeImage = "image" // Table holds the table name of the teamgroupimage in the database. Table = "team_group_images" // GroupTable is the table that holds the group relation/edge. GroupTable = "team_group_images" // 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" // ImageTable is the table that holds the image relation/edge. ImageTable = "team_group_images" // ImageInverseTable is the table name for the Image entity. // It exists in this package in order to avoid circular dependency with the "image" package. ImageInverseTable = "images" // ImageColumn is the table column denoting the image relation/edge. ImageColumn = "image_id" )
Variables ¶
var Columns = []string{ FieldID, FieldGroupID, FieldImageID, FieldCreatedAt, }
Columns holds all SQL columns for teamgroupimage 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.TeamGroupImage) predicate.TeamGroupImage
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.TeamGroupImage
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.TeamGroupImage
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.TeamGroupImage
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.TeamGroupImage
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.TeamGroupImage
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.TeamGroupImage
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.TeamGroupImage
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.TeamGroupImage
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.TeamGroupImage
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func GroupID ¶
func GroupID(v uuid.UUID) predicate.TeamGroupImage
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDEQ ¶
func GroupIDEQ(v uuid.UUID) predicate.TeamGroupImage
GroupIDEQ applies the EQ predicate on the "group_id" field.
func GroupIDIn ¶
func GroupIDIn(vs ...uuid.UUID) predicate.TeamGroupImage
GroupIDIn applies the In predicate on the "group_id" field.
func GroupIDNEQ ¶
func GroupIDNEQ(v uuid.UUID) predicate.TeamGroupImage
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
func GroupIDNotIn(vs ...uuid.UUID) predicate.TeamGroupImage
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func HasGroup ¶
func HasGroup() predicate.TeamGroupImage
HasGroup applies the HasEdge predicate on the "group" edge.
func HasGroupWith ¶
func HasGroupWith(preds ...predicate.TeamGroup) predicate.TeamGroupImage
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func HasImage ¶
func HasImage() predicate.TeamGroupImage
HasImage applies the HasEdge predicate on the "image" edge.
func HasImageWith ¶
func HasImageWith(preds ...predicate.Image) predicate.TeamGroupImage
HasImageWith applies the HasEdge predicate on the "image" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.TeamGroupImage
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TeamGroupImage
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TeamGroupImage
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TeamGroupImage
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TeamGroupImage
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TeamGroupImage
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TeamGroupImage
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TeamGroupImage
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TeamGroupImage
IDNotIn applies the NotIn predicate on the ID field.
func ImageID ¶
func ImageID(v uuid.UUID) predicate.TeamGroupImage
ImageID applies equality check predicate on the "image_id" field. It's identical to ImageIDEQ.
func ImageIDEQ ¶
func ImageIDEQ(v uuid.UUID) predicate.TeamGroupImage
ImageIDEQ applies the EQ predicate on the "image_id" field.
func ImageIDIn ¶
func ImageIDIn(vs ...uuid.UUID) predicate.TeamGroupImage
ImageIDIn applies the In predicate on the "image_id" field.
func ImageIDNEQ ¶
func ImageIDNEQ(v uuid.UUID) predicate.TeamGroupImage
ImageIDNEQ applies the NEQ predicate on the "image_id" field.
func ImageIDNotIn ¶
func ImageIDNotIn(vs ...uuid.UUID) predicate.TeamGroupImage
ImageIDNotIn applies the NotIn predicate on the "image_id" field.
func Not ¶
func Not(p predicate.TeamGroupImage) predicate.TeamGroupImage
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TeamGroupImage) predicate.TeamGroupImage
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 TeamGroupImage 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 ByImageField ¶
func ByImageField(field string, opts ...sql.OrderTermOption) OrderOption
ByImageField orders the results by image field.
func ByImageID ¶
func ByImageID(opts ...sql.OrderTermOption) OrderOption
ByImageID orders the results by the image_id field.