Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowTrigger) predicate.WorkflowTrigger
- func Enabled(v bool) predicate.WorkflowTrigger
- func EnabledEQ(v bool) predicate.WorkflowTrigger
- func EnabledNEQ(v bool) predicate.WorkflowTrigger
- func ID(id int64) predicate.WorkflowTrigger
- func IDEQ(id int64) predicate.WorkflowTrigger
- func IDGT(id int64) predicate.WorkflowTrigger
- func IDGTE(id int64) predicate.WorkflowTrigger
- func IDIn(ids ...int64) predicate.WorkflowTrigger
- func IDLT(id int64) predicate.WorkflowTrigger
- func IDLTE(id int64) predicate.WorkflowTrigger
- func IDNEQ(id int64) predicate.WorkflowTrigger
- func IDNotIn(ids ...int64) predicate.WorkflowTrigger
- func Not(p predicate.WorkflowTrigger) predicate.WorkflowTrigger
- func Or(predicates ...predicate.WorkflowTrigger) predicate.WorkflowTrigger
- func RuleIsNil() predicate.WorkflowTrigger
- func RuleNotNil() predicate.WorkflowTrigger
- func Type(v string) predicate.WorkflowTrigger
- func TypeContains(v string) predicate.WorkflowTrigger
- func TypeContainsFold(v string) predicate.WorkflowTrigger
- func TypeEQ(v string) predicate.WorkflowTrigger
- func TypeEqualFold(v string) predicate.WorkflowTrigger
- func TypeGT(v string) predicate.WorkflowTrigger
- func TypeGTE(v string) predicate.WorkflowTrigger
- func TypeHasPrefix(v string) predicate.WorkflowTrigger
- func TypeHasSuffix(v string) predicate.WorkflowTrigger
- func TypeIn(vs ...string) predicate.WorkflowTrigger
- func TypeLT(v string) predicate.WorkflowTrigger
- func TypeLTE(v string) predicate.WorkflowTrigger
- func TypeNEQ(v string) predicate.WorkflowTrigger
- func TypeNotIn(vs ...string) predicate.WorkflowTrigger
- func ValidColumn(column string) bool
- func WorkflowID(v int64) predicate.WorkflowTrigger
- func WorkflowIDEQ(v int64) predicate.WorkflowTrigger
- func WorkflowIDGT(v int64) predicate.WorkflowTrigger
- func WorkflowIDGTE(v int64) predicate.WorkflowTrigger
- func WorkflowIDIn(vs ...int64) predicate.WorkflowTrigger
- func WorkflowIDLT(v int64) predicate.WorkflowTrigger
- func WorkflowIDLTE(v int64) predicate.WorkflowTrigger
- func WorkflowIDNEQ(v int64) predicate.WorkflowTrigger
- func WorkflowIDNotIn(vs ...int64) predicate.WorkflowTrigger
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflowtrigger type in the database. Label = "workflow_trigger" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldWorkflowID holds the string denoting the workflow_id field in the database. FieldWorkflowID = "workflow_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldRule holds the string denoting the rule field in the database. FieldRule = "rule" // Table holds the table name of the workflowtrigger in the database. Table = "workflow_triggers" )
Variables ¶
var ( // TypeValidator is a validator for the "type" field. It is called by the builders before save. TypeValidator func(string) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool )
var Columns = []string{ FieldID, FieldWorkflowID, FieldType, FieldEnabled, FieldRule, }
Columns holds all SQL columns for workflowtrigger fields.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkflowTrigger) predicate.WorkflowTrigger
And groups predicates with the AND operator between them.
func Enabled ¶
func Enabled(v bool) predicate.WorkflowTrigger
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.WorkflowTrigger
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.WorkflowTrigger
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func IDEQ ¶
func IDEQ(id int64) predicate.WorkflowTrigger
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.WorkflowTrigger
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.WorkflowTrigger
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.WorkflowTrigger
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.WorkflowTrigger
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.WorkflowTrigger
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.WorkflowTrigger
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.WorkflowTrigger
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.WorkflowTrigger) predicate.WorkflowTrigger
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkflowTrigger) predicate.WorkflowTrigger
Or groups predicates with the OR operator between them.
func RuleIsNil ¶
func RuleIsNil() predicate.WorkflowTrigger
RuleIsNil applies the IsNil predicate on the "rule" field.
func RuleNotNil ¶
func RuleNotNil() predicate.WorkflowTrigger
RuleNotNil applies the NotNil predicate on the "rule" field.
func Type ¶
func Type(v string) predicate.WorkflowTrigger
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.WorkflowTrigger
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.WorkflowTrigger
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.WorkflowTrigger
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.WorkflowTrigger
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.WorkflowTrigger
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.WorkflowTrigger
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.WorkflowTrigger
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.WorkflowTrigger
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.WorkflowTrigger
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.WorkflowTrigger
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.WorkflowTrigger
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.WorkflowTrigger
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.WorkflowTrigger
TypeNotIn applies the NotIn predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkflowID ¶
func WorkflowID(v int64) predicate.WorkflowTrigger
WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.
func WorkflowIDEQ ¶
func WorkflowIDEQ(v int64) predicate.WorkflowTrigger
WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.
func WorkflowIDGT ¶
func WorkflowIDGT(v int64) predicate.WorkflowTrigger
WorkflowIDGT applies the GT predicate on the "workflow_id" field.
func WorkflowIDGTE ¶
func WorkflowIDGTE(v int64) predicate.WorkflowTrigger
WorkflowIDGTE applies the GTE predicate on the "workflow_id" field.
func WorkflowIDIn ¶
func WorkflowIDIn(vs ...int64) predicate.WorkflowTrigger
WorkflowIDIn applies the In predicate on the "workflow_id" field.
func WorkflowIDLT ¶
func WorkflowIDLT(v int64) predicate.WorkflowTrigger
WorkflowIDLT applies the LT predicate on the "workflow_id" field.
func WorkflowIDLTE ¶
func WorkflowIDLTE(v int64) predicate.WorkflowTrigger
WorkflowIDLTE applies the LTE predicate on the "workflow_id" field.
func WorkflowIDNEQ ¶
func WorkflowIDNEQ(v int64) predicate.WorkflowTrigger
WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.
func WorkflowIDNotIn ¶
func WorkflowIDNotIn(vs ...int64) predicate.WorkflowTrigger
WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkflowTrigger queries.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByWorkflowID ¶
func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption
ByWorkflowID orders the results by the workflow_id field.