Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TeamImage) predicate.TeamImage
- func CreatedAt(v time.Time) predicate.TeamImage
- func CreatedAtEQ(v time.Time) predicate.TeamImage
- func CreatedAtGT(v time.Time) predicate.TeamImage
- func CreatedAtGTE(v time.Time) predicate.TeamImage
- func CreatedAtIn(vs ...time.Time) predicate.TeamImage
- func CreatedAtLT(v time.Time) predicate.TeamImage
- func CreatedAtLTE(v time.Time) predicate.TeamImage
- func CreatedAtNEQ(v time.Time) predicate.TeamImage
- func CreatedAtNotIn(vs ...time.Time) predicate.TeamImage
- func HasImage() predicate.TeamImage
- func HasImageWith(preds ...predicate.Image) predicate.TeamImage
- func HasTeam() predicate.TeamImage
- func HasTeamWith(preds ...predicate.Team) predicate.TeamImage
- func ID(id uuid.UUID) predicate.TeamImage
- func IDEQ(id uuid.UUID) predicate.TeamImage
- func IDGT(id uuid.UUID) predicate.TeamImage
- func IDGTE(id uuid.UUID) predicate.TeamImage
- func IDIn(ids ...uuid.UUID) predicate.TeamImage
- func IDLT(id uuid.UUID) predicate.TeamImage
- func IDLTE(id uuid.UUID) predicate.TeamImage
- func IDNEQ(id uuid.UUID) predicate.TeamImage
- func IDNotIn(ids ...uuid.UUID) predicate.TeamImage
- func ImageID(v uuid.UUID) predicate.TeamImage
- func ImageIDEQ(v uuid.UUID) predicate.TeamImage
- func ImageIDIn(vs ...uuid.UUID) predicate.TeamImage
- func ImageIDNEQ(v uuid.UUID) predicate.TeamImage
- func ImageIDNotIn(vs ...uuid.UUID) predicate.TeamImage
- func Not(p predicate.TeamImage) predicate.TeamImage
- func Or(predicates ...predicate.TeamImage) predicate.TeamImage
- func TeamID(v uuid.UUID) predicate.TeamImage
- func TeamIDEQ(v uuid.UUID) predicate.TeamImage
- func TeamIDIn(vs ...uuid.UUID) predicate.TeamImage
- func TeamIDNEQ(v uuid.UUID) predicate.TeamImage
- func TeamIDNotIn(vs ...uuid.UUID) predicate.TeamImage
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByImageID(opts ...sql.OrderTermOption) OrderOption
- func ByTeamField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTeamID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the teamimage type in the database. Label = "team_image" // 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" // 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" // EdgeTeam holds the string denoting the team edge name in mutations. EdgeTeam = "team" // EdgeImage holds the string denoting the image edge name in mutations. EdgeImage = "image" // Table holds the table name of the teamimage in the database. Table = "team_images" // TeamTable is the table that holds the team relation/edge. TeamTable = "team_images" // 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" // ImageTable is the table that holds the image relation/edge. ImageTable = "team_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, FieldTeamID, FieldImageID, FieldCreatedAt, }
Columns holds all SQL columns for teamimage fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasImageWith ¶
HasImageWith applies the HasEdge predicate on the "image" edge with a given conditions (other predicates).
func HasTeamWith ¶
HasTeamWith applies the HasEdge predicate on the "team" edge with a given conditions (other predicates).
func ImageID ¶
ImageID applies equality check predicate on the "image_id" field. It's identical to ImageIDEQ.
func ImageIDNEQ ¶
ImageIDNEQ applies the NEQ predicate on the "image_id" field.
func ImageIDNotIn ¶
ImageIDNotIn applies the NotIn predicate on the "image_id" field.
func TeamID ¶
TeamID applies equality check predicate on the "team_id" field. It's identical to TeamIDEQ.
func TeamIDNotIn ¶
TeamIDNotIn applies the NotIn predicate on the "team_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 TeamImage queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at 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.
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.