gitbottask

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 gitbottask type in the database.
	Label = "git_bot_task"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldGitBotID holds the string denoting the git_bot_id field in the database.
	FieldGitBotID = "git_bot_id"
	// FieldTaskID holds the string denoting the task_id field in the database.
	FieldTaskID = "task_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeTask holds the string denoting the task edge name in mutations.
	EdgeTask = "task"
	// EdgeGitBot holds the string denoting the git_bot edge name in mutations.
	EdgeGitBot = "git_bot"
	// Table holds the table name of the gitbottask in the database.
	Table = "git_bot_tasks"
	// TaskTable is the table that holds the task relation/edge.
	TaskTable = "git_bot_tasks"
	// TaskInverseTable is the table name for the Task entity.
	// It exists in this package in order to avoid circular dependency with the "task" package.
	TaskInverseTable = "tasks"
	// TaskColumn is the table column denoting the task relation/edge.
	TaskColumn = "task_id"
	// GitBotTable is the table that holds the git_bot relation/edge.
	GitBotTable = "git_bot_tasks"
	// 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 gitbottask fields.

Functions

func And

func And(predicates ...predicate.GitBotTask) predicate.GitBotTask

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.GitBotTask

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GitBotTask

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GitBotTask

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GitBotTask

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.GitBotTask

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GitBotTask

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GitBotTask

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GitBotTask

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.GitBotTask

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func GitBotID

func GitBotID(v uuid.UUID) predicate.GitBotTask

GitBotID applies equality check predicate on the "git_bot_id" field. It's identical to GitBotIDEQ.

func GitBotIDEQ

func GitBotIDEQ(v uuid.UUID) predicate.GitBotTask

GitBotIDEQ applies the EQ predicate on the "git_bot_id" field.

func GitBotIDIn

func GitBotIDIn(vs ...uuid.UUID) predicate.GitBotTask

GitBotIDIn applies the In predicate on the "git_bot_id" field.

func GitBotIDNEQ

func GitBotIDNEQ(v uuid.UUID) predicate.GitBotTask

GitBotIDNEQ applies the NEQ predicate on the "git_bot_id" field.

func GitBotIDNotIn

func GitBotIDNotIn(vs ...uuid.UUID) predicate.GitBotTask

GitBotIDNotIn applies the NotIn predicate on the "git_bot_id" field.

func HasGitBot

func HasGitBot() predicate.GitBotTask

HasGitBot applies the HasEdge predicate on the "git_bot" edge.

func HasGitBotWith

func HasGitBotWith(preds ...predicate.GitBot) predicate.GitBotTask

HasGitBotWith applies the HasEdge predicate on the "git_bot" edge with a given conditions (other predicates).

func HasTask

func HasTask() predicate.GitBotTask

HasTask applies the HasEdge predicate on the "task" edge.

func HasTaskWith

func HasTaskWith(preds ...predicate.Task) predicate.GitBotTask

HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.GitBotTask

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.GitBotTask

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.GitBotTask

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.GitBotTask

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.GitBotTask

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.GitBotTask

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.GitBotTask

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.GitBotTask

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GitBotTask) predicate.GitBotTask

Or groups predicates with the OR operator between them.

func TaskID

func TaskID(v uuid.UUID) predicate.GitBotTask

TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.

func TaskIDEQ

func TaskIDEQ(v uuid.UUID) predicate.GitBotTask

TaskIDEQ applies the EQ predicate on the "task_id" field.

func TaskIDIn

func TaskIDIn(vs ...uuid.UUID) predicate.GitBotTask

TaskIDIn applies the In predicate on the "task_id" field.

func TaskIDNEQ

func TaskIDNEQ(v uuid.UUID) predicate.GitBotTask

TaskIDNEQ applies the NEQ predicate on the "task_id" field.

func TaskIDNotIn

func TaskIDNotIn(vs ...uuid.UUID) predicate.GitBotTask

TaskIDNotIn applies the NotIn predicate on the "task_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 GitBotTask 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 ByTaskField

func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption

ByTaskField orders the results by task field.

func ByTaskID

func ByTaskID(opts ...sql.OrderTermOption) OrderOption

ByTaskID orders the results by the task_id field.

Jump to

Keyboard shortcuts

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