Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProjectGitBot) predicate.ProjectGitBot
- func CreatedAt(v time.Time) predicate.ProjectGitBot
- func CreatedAtEQ(v time.Time) predicate.ProjectGitBot
- func CreatedAtGT(v time.Time) predicate.ProjectGitBot
- func CreatedAtGTE(v time.Time) predicate.ProjectGitBot
- func CreatedAtIn(vs ...time.Time) predicate.ProjectGitBot
- func CreatedAtLT(v time.Time) predicate.ProjectGitBot
- func CreatedAtLTE(v time.Time) predicate.ProjectGitBot
- func CreatedAtNEQ(v time.Time) predicate.ProjectGitBot
- func CreatedAtNotIn(vs ...time.Time) predicate.ProjectGitBot
- func GitBotID(v uuid.UUID) predicate.ProjectGitBot
- func GitBotIDEQ(v uuid.UUID) predicate.ProjectGitBot
- func GitBotIDIn(vs ...uuid.UUID) predicate.ProjectGitBot
- func GitBotIDNEQ(v uuid.UUID) predicate.ProjectGitBot
- func GitBotIDNotIn(vs ...uuid.UUID) predicate.ProjectGitBot
- func HasGitBot() predicate.ProjectGitBot
- func HasGitBotWith(preds ...predicate.GitBot) predicate.ProjectGitBot
- func HasProject() predicate.ProjectGitBot
- func HasProjectWith(preds ...predicate.Project) predicate.ProjectGitBot
- func ID(id uuid.UUID) predicate.ProjectGitBot
- func IDEQ(id uuid.UUID) predicate.ProjectGitBot
- func IDGT(id uuid.UUID) predicate.ProjectGitBot
- func IDGTE(id uuid.UUID) predicate.ProjectGitBot
- func IDIn(ids ...uuid.UUID) predicate.ProjectGitBot
- func IDLT(id uuid.UUID) predicate.ProjectGitBot
- func IDLTE(id uuid.UUID) predicate.ProjectGitBot
- func IDNEQ(id uuid.UUID) predicate.ProjectGitBot
- func IDNotIn(ids ...uuid.UUID) predicate.ProjectGitBot
- func Not(p predicate.ProjectGitBot) predicate.ProjectGitBot
- func Or(predicates ...predicate.ProjectGitBot) predicate.ProjectGitBot
- func ProjectID(v uuid.UUID) predicate.ProjectGitBot
- func ProjectIDEQ(v uuid.UUID) predicate.ProjectGitBot
- func ProjectIDIn(vs ...uuid.UUID) predicate.ProjectGitBot
- func ProjectIDNEQ(v uuid.UUID) predicate.ProjectGitBot
- func ProjectIDNotIn(vs ...uuid.UUID) predicate.ProjectGitBot
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGitBotField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGitBotID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the projectgitbot type in the database. Label = "project_git_bot" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldGitBotID holds the string denoting the git_bot_id field in the database. FieldGitBotID = "git_bot_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeProject holds the string denoting the project edge name in mutations. EdgeProject = "project" // EdgeGitBot holds the string denoting the git_bot edge name in mutations. EdgeGitBot = "git_bot" // Table holds the table name of the projectgitbot in the database. Table = "project_git_bots" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "project_git_bots" // ProjectInverseTable is the table name for the Project entity. // It exists in this package in order to avoid circular dependency with the "project" package. ProjectInverseTable = "projects" // ProjectColumn is the table column denoting the project relation/edge. ProjectColumn = "project_id" // GitBotTable is the table that holds the git_bot relation/edge. GitBotTable = "project_git_bots" // GitBotInverseTable is the table name for the GitBot entity. // It exists in this package in order to avoid circular dependency with the "gitbot" package. GitBotInverseTable = "git_bots" // GitBotColumn is the table column denoting the git_bot relation/edge. GitBotColumn = "git_bot_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldProjectID, FieldGitBotID, FieldCreatedAt, }
Columns holds all SQL columns for projectgitbot fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProjectGitBot) predicate.ProjectGitBot
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProjectGitBot
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProjectGitBot
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProjectGitBot
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProjectGitBot
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProjectGitBot
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProjectGitBot
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProjectGitBot
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProjectGitBot
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProjectGitBot
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func GitBotID ¶
func GitBotID(v uuid.UUID) predicate.ProjectGitBot
GitBotID applies equality check predicate on the "git_bot_id" field. It's identical to GitBotIDEQ.
func GitBotIDEQ ¶
func GitBotIDEQ(v uuid.UUID) predicate.ProjectGitBot
GitBotIDEQ applies the EQ predicate on the "git_bot_id" field.
func GitBotIDIn ¶
func GitBotIDIn(vs ...uuid.UUID) predicate.ProjectGitBot
GitBotIDIn applies the In predicate on the "git_bot_id" field.
func GitBotIDNEQ ¶
func GitBotIDNEQ(v uuid.UUID) predicate.ProjectGitBot
GitBotIDNEQ applies the NEQ predicate on the "git_bot_id" field.
func GitBotIDNotIn ¶
func GitBotIDNotIn(vs ...uuid.UUID) predicate.ProjectGitBot
GitBotIDNotIn applies the NotIn predicate on the "git_bot_id" field.
func HasGitBot ¶
func HasGitBot() predicate.ProjectGitBot
HasGitBot applies the HasEdge predicate on the "git_bot" edge.
func HasGitBotWith ¶
func HasGitBotWith(preds ...predicate.GitBot) predicate.ProjectGitBot
HasGitBotWith applies the HasEdge predicate on the "git_bot" edge with a given conditions (other predicates).
func HasProject ¶
func HasProject() predicate.ProjectGitBot
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶
func HasProjectWith(preds ...predicate.Project) predicate.ProjectGitBot
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.ProjectGitBot
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ProjectGitBot
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ProjectGitBot
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ProjectGitBot
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ProjectGitBot
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ProjectGitBot
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ProjectGitBot
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ProjectGitBot
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ProjectGitBot
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProjectGitBot) predicate.ProjectGitBot
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProjectGitBot) predicate.ProjectGitBot
Or groups predicates with the OR operator between them.
func ProjectID ¶
func ProjectID(v uuid.UUID) predicate.ProjectGitBot
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
func ProjectIDEQ(v uuid.UUID) predicate.ProjectGitBot
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDIn ¶
func ProjectIDIn(vs ...uuid.UUID) predicate.ProjectGitBot
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDNEQ ¶
func ProjectIDNEQ(v uuid.UUID) predicate.ProjectGitBot
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
func ProjectIDNotIn(vs ...uuid.UUID) predicate.ProjectGitBot
ProjectIDNotIn applies the NotIn predicate on the "project_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 ProjectGitBot queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByGitBotField ¶
func ByGitBotField(field string, opts ...sql.OrderTermOption) OrderOption
ByGitBotField orders the results by git_bot field.
func ByGitBotID ¶
func ByGitBotID(opts ...sql.OrderTermOption) OrderOption
ByGitBotID orders the results by the git_bot_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByProjectField ¶
func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
ByProjectField orders the results by project field.
func ByProjectID ¶
func ByProjectID(opts ...sql.OrderTermOption) OrderOption
ByProjectID orders the results by the project_id field.