projectgitbot

package
v0.0.0-...-481d40d Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for projectgitbot fields.

Functions

func And

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

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

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

Not applies the not operator on the given predicate.

func Or

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

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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