backlogitemdependency

package
v1.43.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the backlogitemdependency type in the database.
	Label = "backlog_item_dependency"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldBlockerID holds the string denoting the blocker_id field in the database.
	FieldBlockerID = "blocker_id"
	// FieldBlockedID holds the string denoting the blocked_id field in the database.
	FieldBlockedID = "blocked_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeBlocker holds the string denoting the blocker edge name in mutations.
	EdgeBlocker = "blocker"
	// EdgeBlocked holds the string denoting the blocked edge name in mutations.
	EdgeBlocked = "blocked"
	// Table holds the table name of the backlogitemdependency in the database.
	Table = "backlog_item_dependencies"
	// BlockerTable is the table that holds the blocker relation/edge.
	BlockerTable = "backlog_item_dependencies"
	// BlockerInverseTable is the table name for the BacklogItem entity.
	// It exists in this package in order to avoid circular dependency with the "backlogitem" package.
	BlockerInverseTable = "backlog_items"
	// BlockerColumn is the table column denoting the blocker relation/edge.
	BlockerColumn = "blocker_id"
	// BlockedTable is the table that holds the blocked relation/edge.
	BlockedTable = "backlog_item_dependencies"
	// BlockedInverseTable is the table name for the BacklogItem entity.
	// It exists in this package in order to avoid circular dependency with the "backlogitem" package.
	BlockedInverseTable = "backlog_items"
	// BlockedColumn is the table column denoting the blocked relation/edge.
	BlockedColumn = "blocked_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 backlogitemdependency fields.

Functions

func And

And groups predicates with the AND operator between them.

func BlockedID

BlockedID applies equality check predicate on the "blocked_id" field. It's identical to BlockedIDEQ.

func BlockedIDEQ

BlockedIDEQ applies the EQ predicate on the "blocked_id" field.

func BlockedIDIn

func BlockedIDIn(vs ...uuid.UUID) predicate.BacklogItemDependency

BlockedIDIn applies the In predicate on the "blocked_id" field.

func BlockedIDNEQ

func BlockedIDNEQ(v uuid.UUID) predicate.BacklogItemDependency

BlockedIDNEQ applies the NEQ predicate on the "blocked_id" field.

func BlockedIDNotIn

func BlockedIDNotIn(vs ...uuid.UUID) predicate.BacklogItemDependency

BlockedIDNotIn applies the NotIn predicate on the "blocked_id" field.

func BlockerID

BlockerID applies equality check predicate on the "blocker_id" field. It's identical to BlockerIDEQ.

func BlockerIDEQ

BlockerIDEQ applies the EQ predicate on the "blocker_id" field.

func BlockerIDIn

func BlockerIDIn(vs ...uuid.UUID) predicate.BacklogItemDependency

BlockerIDIn applies the In predicate on the "blocker_id" field.

func BlockerIDNEQ

func BlockerIDNEQ(v uuid.UUID) predicate.BacklogItemDependency

BlockerIDNEQ applies the NEQ predicate on the "blocker_id" field.

func BlockerIDNotIn

func BlockerIDNotIn(vs ...uuid.UUID) predicate.BacklogItemDependency

BlockerIDNotIn applies the NotIn predicate on the "blocker_id" field.

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

func CreatedAtGTE(v time.Time) predicate.BacklogItemDependency

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.BacklogItemDependency

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.BacklogItemDependency

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

func CreatedAtNotIn

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

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

func HasBlocked

func HasBlocked() predicate.BacklogItemDependency

HasBlocked applies the HasEdge predicate on the "blocked" edge.

func HasBlockedWith

func HasBlockedWith(preds ...predicate.BacklogItem) predicate.BacklogItemDependency

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

func HasBlocker

func HasBlocker() predicate.BacklogItemDependency

HasBlocker applies the HasEdge predicate on the "blocker" edge.

func HasBlockerWith

func HasBlockerWith(preds ...predicate.BacklogItem) predicate.BacklogItemDependency

HasBlockerWith applies the HasEdge predicate on the "blocker" 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

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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 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 BacklogItemDependency queries.

func ByBlockedField

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

ByBlockedField orders the results by blocked field.

func ByBlockedID

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

ByBlockedID orders the results by the blocked_id field.

func ByBlockerField

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

ByBlockerField orders the results by blocker field.

func ByBlockerID

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

ByBlockerID orders the results by the blocker_id field.

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.

Jump to

Keyboard shortcuts

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