Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BacklogItemDependency) predicate.BacklogItemDependency
- func BlockedID(v uuid.UUID) predicate.BacklogItemDependency
- func BlockedIDEQ(v uuid.UUID) predicate.BacklogItemDependency
- func BlockedIDIn(vs ...uuid.UUID) predicate.BacklogItemDependency
- func BlockedIDNEQ(v uuid.UUID) predicate.BacklogItemDependency
- func BlockedIDNotIn(vs ...uuid.UUID) predicate.BacklogItemDependency
- func BlockerID(v uuid.UUID) predicate.BacklogItemDependency
- func BlockerIDEQ(v uuid.UUID) predicate.BacklogItemDependency
- func BlockerIDIn(vs ...uuid.UUID) predicate.BacklogItemDependency
- func BlockerIDNEQ(v uuid.UUID) predicate.BacklogItemDependency
- func BlockerIDNotIn(vs ...uuid.UUID) predicate.BacklogItemDependency
- func CreatedAt(v time.Time) predicate.BacklogItemDependency
- func CreatedAtEQ(v time.Time) predicate.BacklogItemDependency
- func CreatedAtGT(v time.Time) predicate.BacklogItemDependency
- func CreatedAtGTE(v time.Time) predicate.BacklogItemDependency
- func CreatedAtIn(vs ...time.Time) predicate.BacklogItemDependency
- func CreatedAtLT(v time.Time) predicate.BacklogItemDependency
- func CreatedAtLTE(v time.Time) predicate.BacklogItemDependency
- func CreatedAtNEQ(v time.Time) predicate.BacklogItemDependency
- func CreatedAtNotIn(vs ...time.Time) predicate.BacklogItemDependency
- func HasBlocked() predicate.BacklogItemDependency
- func HasBlockedWith(preds ...predicate.BacklogItem) predicate.BacklogItemDependency
- func HasBlocker() predicate.BacklogItemDependency
- func HasBlockerWith(preds ...predicate.BacklogItem) predicate.BacklogItemDependency
- func ID(id uuid.UUID) predicate.BacklogItemDependency
- func IDEQ(id uuid.UUID) predicate.BacklogItemDependency
- func IDGT(id uuid.UUID) predicate.BacklogItemDependency
- func IDGTE(id uuid.UUID) predicate.BacklogItemDependency
- func IDIn(ids ...uuid.UUID) predicate.BacklogItemDependency
- func IDLT(id uuid.UUID) predicate.BacklogItemDependency
- func IDLTE(id uuid.UUID) predicate.BacklogItemDependency
- func IDNEQ(id uuid.UUID) predicate.BacklogItemDependency
- func IDNotIn(ids ...uuid.UUID) predicate.BacklogItemDependency
- func Not(p predicate.BacklogItemDependency) predicate.BacklogItemDependency
- func Or(predicates ...predicate.BacklogItemDependency) predicate.BacklogItemDependency
- func ValidColumn(column string) bool
- type OrderOption
- func ByBlockedField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBlockedID(opts ...sql.OrderTermOption) OrderOption
- func ByBlockerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBlockerID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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, FieldBlockerID, FieldBlockedID, FieldCreatedAt, }
Columns holds all SQL columns for backlogitemdependency fields.
Functions ¶
func And ¶
func And(predicates ...predicate.BacklogItemDependency) predicate.BacklogItemDependency
And groups predicates with the AND operator between them.
func BlockedID ¶
func BlockedID(v uuid.UUID) predicate.BacklogItemDependency
BlockedID applies equality check predicate on the "blocked_id" field. It's identical to BlockedIDEQ.
func BlockedIDEQ ¶
func BlockedIDEQ(v uuid.UUID) predicate.BacklogItemDependency
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 ¶
func BlockerID(v uuid.UUID) predicate.BacklogItemDependency
BlockerID applies equality check predicate on the "blocker_id" field. It's identical to BlockerIDEQ.
func BlockerIDEQ ¶
func BlockerIDEQ(v uuid.UUID) predicate.BacklogItemDependency
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 ¶
func CreatedAt(v time.Time) predicate.BacklogItemDependency
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.BacklogItemDependency
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.BacklogItemDependency
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 ¶
func CreatedAtLT(v time.Time) predicate.BacklogItemDependency
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 ¶
func ID(id uuid.UUID) predicate.BacklogItemDependency
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.BacklogItemDependency
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.BacklogItemDependency
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.BacklogItemDependency
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.BacklogItemDependency
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.BacklogItemDependency
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.BacklogItemDependency
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.BacklogItemDependency
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 ¶
func Not(p predicate.BacklogItemDependency) predicate.BacklogItemDependency
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.BacklogItemDependency) predicate.BacklogItemDependency
Or groups predicates with the OR operator between them.
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 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.