Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowEvent) predicate.WorkflowEvent
- func CreatedAt(v time.Time) predicate.WorkflowEvent
- func CreatedAtEQ(v time.Time) predicate.WorkflowEvent
- func CreatedAtGT(v time.Time) predicate.WorkflowEvent
- func CreatedAtGTE(v time.Time) predicate.WorkflowEvent
- func CreatedAtIn(vs ...time.Time) predicate.WorkflowEvent
- func CreatedAtIsNil() predicate.WorkflowEvent
- func CreatedAtLT(v time.Time) predicate.WorkflowEvent
- func CreatedAtLTE(v time.Time) predicate.WorkflowEvent
- func CreatedAtNEQ(v time.Time) predicate.WorkflowEvent
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowEvent
- func CreatedAtNotNil() predicate.WorkflowEvent
- func CreatedBy(v string) predicate.WorkflowEvent
- func CreatedByContains(v string) predicate.WorkflowEvent
- func CreatedByContainsFold(v string) predicate.WorkflowEvent
- func CreatedByEQ(v string) predicate.WorkflowEvent
- func CreatedByEqualFold(v string) predicate.WorkflowEvent
- func CreatedByGT(v string) predicate.WorkflowEvent
- func CreatedByGTE(v string) predicate.WorkflowEvent
- func CreatedByHasPrefix(v string) predicate.WorkflowEvent
- func CreatedByHasSuffix(v string) predicate.WorkflowEvent
- func CreatedByIn(vs ...string) predicate.WorkflowEvent
- func CreatedByIsNil() predicate.WorkflowEvent
- func CreatedByLT(v string) predicate.WorkflowEvent
- func CreatedByLTE(v string) predicate.WorkflowEvent
- func CreatedByNEQ(v string) predicate.WorkflowEvent
- func CreatedByNotIn(vs ...string) predicate.WorkflowEvent
- func CreatedByNotNil() predicate.WorkflowEvent
- func DeletedAt(v time.Time) predicate.WorkflowEvent
- func DeletedAtEQ(v time.Time) predicate.WorkflowEvent
- func DeletedAtGT(v time.Time) predicate.WorkflowEvent
- func DeletedAtGTE(v time.Time) predicate.WorkflowEvent
- func DeletedAtIn(vs ...time.Time) predicate.WorkflowEvent
- func DeletedAtIsNil() predicate.WorkflowEvent
- func DeletedAtLT(v time.Time) predicate.WorkflowEvent
- func DeletedAtLTE(v time.Time) predicate.WorkflowEvent
- func DeletedAtNEQ(v time.Time) predicate.WorkflowEvent
- func DeletedAtNotIn(vs ...time.Time) predicate.WorkflowEvent
- func DeletedAtNotNil() predicate.WorkflowEvent
- func DeletedBy(v string) predicate.WorkflowEvent
- func DeletedByContains(v string) predicate.WorkflowEvent
- func DeletedByContainsFold(v string) predicate.WorkflowEvent
- func DeletedByEQ(v string) predicate.WorkflowEvent
- func DeletedByEqualFold(v string) predicate.WorkflowEvent
- func DeletedByGT(v string) predicate.WorkflowEvent
- func DeletedByGTE(v string) predicate.WorkflowEvent
- func DeletedByHasPrefix(v string) predicate.WorkflowEvent
- func DeletedByHasSuffix(v string) predicate.WorkflowEvent
- func DeletedByIn(vs ...string) predicate.WorkflowEvent
- func DeletedByIsNil() predicate.WorkflowEvent
- func DeletedByLT(v string) predicate.WorkflowEvent
- func DeletedByLTE(v string) predicate.WorkflowEvent
- func DeletedByNEQ(v string) predicate.WorkflowEvent
- func DeletedByNotIn(vs ...string) predicate.WorkflowEvent
- func DeletedByNotNil() predicate.WorkflowEvent
- func DisplayID(v string) predicate.WorkflowEvent
- func DisplayIDContains(v string) predicate.WorkflowEvent
- func DisplayIDContainsFold(v string) predicate.WorkflowEvent
- func DisplayIDEQ(v string) predicate.WorkflowEvent
- func DisplayIDEqualFold(v string) predicate.WorkflowEvent
- func DisplayIDGT(v string) predicate.WorkflowEvent
- func DisplayIDGTE(v string) predicate.WorkflowEvent
- func DisplayIDHasPrefix(v string) predicate.WorkflowEvent
- func DisplayIDHasSuffix(v string) predicate.WorkflowEvent
- func DisplayIDIn(vs ...string) predicate.WorkflowEvent
- func DisplayIDLT(v string) predicate.WorkflowEvent
- func DisplayIDLTE(v string) predicate.WorkflowEvent
- func DisplayIDNEQ(v string) predicate.WorkflowEvent
- func DisplayIDNotIn(vs ...string) predicate.WorkflowEvent
- func EventTypeEQ(v enums.WorkflowEventType) predicate.WorkflowEvent
- func EventTypeIn(vs ...enums.WorkflowEventType) predicate.WorkflowEvent
- func EventTypeNEQ(v enums.WorkflowEventType) predicate.WorkflowEvent
- func EventTypeNotIn(vs ...enums.WorkflowEventType) predicate.WorkflowEvent
- func EventTypeValidator(et enums.WorkflowEventType) error
- func HasOwner() predicate.WorkflowEvent
- func HasOwnerWith(preds ...predicate.Organization) predicate.WorkflowEvent
- func HasWorkflowInstance() predicate.WorkflowEvent
- func HasWorkflowInstanceWith(preds ...predicate.WorkflowInstance) predicate.WorkflowEvent
- func ID(id string) predicate.WorkflowEvent
- func IDContainsFold(id string) predicate.WorkflowEvent
- func IDEQ(id string) predicate.WorkflowEvent
- func IDEqualFold(id string) predicate.WorkflowEvent
- func IDGT(id string) predicate.WorkflowEvent
- func IDGTE(id string) predicate.WorkflowEvent
- func IDIn(ids ...string) predicate.WorkflowEvent
- func IDLT(id string) predicate.WorkflowEvent
- func IDLTE(id string) predicate.WorkflowEvent
- func IDNEQ(id string) predicate.WorkflowEvent
- func IDNotIn(ids ...string) predicate.WorkflowEvent
- func Not(p predicate.WorkflowEvent) predicate.WorkflowEvent
- func Or(predicates ...predicate.WorkflowEvent) predicate.WorkflowEvent
- func OwnerID(v string) predicate.WorkflowEvent
- func OwnerIDContains(v string) predicate.WorkflowEvent
- func OwnerIDContainsFold(v string) predicate.WorkflowEvent
- func OwnerIDEQ(v string) predicate.WorkflowEvent
- func OwnerIDEqualFold(v string) predicate.WorkflowEvent
- func OwnerIDGT(v string) predicate.WorkflowEvent
- func OwnerIDGTE(v string) predicate.WorkflowEvent
- func OwnerIDHasPrefix(v string) predicate.WorkflowEvent
- func OwnerIDHasSuffix(v string) predicate.WorkflowEvent
- func OwnerIDIn(vs ...string) predicate.WorkflowEvent
- func OwnerIDIsNil() predicate.WorkflowEvent
- func OwnerIDLT(v string) predicate.WorkflowEvent
- func OwnerIDLTE(v string) predicate.WorkflowEvent
- func OwnerIDNEQ(v string) predicate.WorkflowEvent
- func OwnerIDNotIn(vs ...string) predicate.WorkflowEvent
- func OwnerIDNotNil() predicate.WorkflowEvent
- func PayloadIsNil() predicate.WorkflowEvent
- func PayloadNotNil() predicate.WorkflowEvent
- func TagsIsNil() predicate.WorkflowEvent
- func TagsNotNil() predicate.WorkflowEvent
- func UpdatedAt(v time.Time) predicate.WorkflowEvent
- func UpdatedAtEQ(v time.Time) predicate.WorkflowEvent
- func UpdatedAtGT(v time.Time) predicate.WorkflowEvent
- func UpdatedAtGTE(v time.Time) predicate.WorkflowEvent
- func UpdatedAtIn(vs ...time.Time) predicate.WorkflowEvent
- func UpdatedAtIsNil() predicate.WorkflowEvent
- func UpdatedAtLT(v time.Time) predicate.WorkflowEvent
- func UpdatedAtLTE(v time.Time) predicate.WorkflowEvent
- func UpdatedAtNEQ(v time.Time) predicate.WorkflowEvent
- func UpdatedAtNotIn(vs ...time.Time) predicate.WorkflowEvent
- func UpdatedAtNotNil() predicate.WorkflowEvent
- func UpdatedBy(v string) predicate.WorkflowEvent
- func UpdatedByContains(v string) predicate.WorkflowEvent
- func UpdatedByContainsFold(v string) predicate.WorkflowEvent
- func UpdatedByEQ(v string) predicate.WorkflowEvent
- func UpdatedByEqualFold(v string) predicate.WorkflowEvent
- func UpdatedByGT(v string) predicate.WorkflowEvent
- func UpdatedByGTE(v string) predicate.WorkflowEvent
- func UpdatedByHasPrefix(v string) predicate.WorkflowEvent
- func UpdatedByHasSuffix(v string) predicate.WorkflowEvent
- func UpdatedByIn(vs ...string) predicate.WorkflowEvent
- func UpdatedByIsNil() predicate.WorkflowEvent
- func UpdatedByLT(v string) predicate.WorkflowEvent
- func UpdatedByLTE(v string) predicate.WorkflowEvent
- func UpdatedByNEQ(v string) predicate.WorkflowEvent
- func UpdatedByNotIn(vs ...string) predicate.WorkflowEvent
- func UpdatedByNotNil() predicate.WorkflowEvent
- func ValidColumn(column string) bool
- func WorkflowInstanceID(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDContains(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDContainsFold(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDEQ(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDEqualFold(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDGT(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDGTE(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDHasPrefix(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDHasSuffix(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDIn(vs ...string) predicate.WorkflowEvent
- func WorkflowInstanceIDLT(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDLTE(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDNEQ(v string) predicate.WorkflowEvent
- func WorkflowInstanceIDNotIn(vs ...string) predicate.WorkflowEvent
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByEventType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowInstanceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowInstanceID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflowevent type in the database. Label = "workflow_event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldDisplayID holds the string denoting the display_id field in the database. FieldDisplayID = "display_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldWorkflowInstanceID holds the string denoting the workflow_instance_id field in the database. FieldWorkflowInstanceID = "workflow_instance_id" // FieldEventType holds the string denoting the event_type field in the database. FieldEventType = "event_type" // FieldPayload holds the string denoting the payload field in the database. FieldPayload = "payload" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeWorkflowInstance holds the string denoting the workflow_instance edge name in mutations. EdgeWorkflowInstance = "workflow_instance" // Table holds the table name of the workflowevent in the database. Table = "workflow_events" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "workflow_events" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // WorkflowInstanceTable is the table that holds the workflow_instance relation/edge. WorkflowInstanceTable = "workflow_events" // WorkflowInstanceInverseTable is the table name for the WorkflowInstance entity. // It exists in this package in order to avoid circular dependency with the "workflowinstance" package. WorkflowInstanceInverseTable = "workflow_instances" // WorkflowInstanceColumn is the table column denoting the workflow_instance relation/edge. WorkflowInstanceColumn = "workflow_instance_id" )
Variables ¶
var ( Hooks [7]ent.Hook Interceptors [3]ent.Interceptor Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // WorkflowInstanceIDValidator is a validator for the "workflow_instance_id" field. It is called by the builders before save. WorkflowInstanceIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldOwnerID, FieldWorkflowInstanceID, FieldEventType, FieldPayload, }
Columns holds all SQL columns for workflowevent fields.
var ForeignKeys = []string{
"workflow_instance_workflow_events",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "workflow_events" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkflowEvent) predicate.WorkflowEvent
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.WorkflowEvent
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.WorkflowEvent
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.WorkflowEvent
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.WorkflowEvent
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.WorkflowEvent
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.WorkflowEvent
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.WorkflowEvent
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.WorkflowEvent
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.WorkflowEvent
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowEvent
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.WorkflowEvent
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.WorkflowEvent
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.WorkflowEvent
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.WorkflowEvent
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.WorkflowEvent
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.WorkflowEvent
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.WorkflowEvent
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.WorkflowEvent
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.WorkflowEvent
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.WorkflowEvent
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.WorkflowEvent
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.WorkflowEvent
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.WorkflowEvent
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.WorkflowEvent
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.WorkflowEvent
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.WorkflowEvent
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.WorkflowEvent
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.WorkflowEvent
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.WorkflowEvent
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.WorkflowEvent
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.WorkflowEvent
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.WorkflowEvent
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.WorkflowEvent
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.WorkflowEvent
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.WorkflowEvent
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.WorkflowEvent
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.WorkflowEvent
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.WorkflowEvent
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.WorkflowEvent
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.WorkflowEvent
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.WorkflowEvent
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.WorkflowEvent
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.WorkflowEvent
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.WorkflowEvent
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.WorkflowEvent
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.WorkflowEvent
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.WorkflowEvent
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.WorkflowEvent
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.WorkflowEvent
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.WorkflowEvent
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.WorkflowEvent
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.WorkflowEvent
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.WorkflowEvent
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.WorkflowEvent
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func DisplayID ¶
func DisplayID(v string) predicate.WorkflowEvent
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶
func DisplayIDContains(v string) predicate.WorkflowEvent
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶
func DisplayIDContainsFold(v string) predicate.WorkflowEvent
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶
func DisplayIDEQ(v string) predicate.WorkflowEvent
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶
func DisplayIDEqualFold(v string) predicate.WorkflowEvent
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶
func DisplayIDGT(v string) predicate.WorkflowEvent
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶
func DisplayIDGTE(v string) predicate.WorkflowEvent
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶
func DisplayIDHasPrefix(v string) predicate.WorkflowEvent
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶
func DisplayIDHasSuffix(v string) predicate.WorkflowEvent
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶
func DisplayIDIn(vs ...string) predicate.WorkflowEvent
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶
func DisplayIDLT(v string) predicate.WorkflowEvent
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶
func DisplayIDLTE(v string) predicate.WorkflowEvent
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶
func DisplayIDNEQ(v string) predicate.WorkflowEvent
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶
func DisplayIDNotIn(vs ...string) predicate.WorkflowEvent
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func EventTypeEQ ¶
func EventTypeEQ(v enums.WorkflowEventType) predicate.WorkflowEvent
EventTypeEQ applies the EQ predicate on the "event_type" field.
func EventTypeIn ¶
func EventTypeIn(vs ...enums.WorkflowEventType) predicate.WorkflowEvent
EventTypeIn applies the In predicate on the "event_type" field.
func EventTypeNEQ ¶
func EventTypeNEQ(v enums.WorkflowEventType) predicate.WorkflowEvent
EventTypeNEQ applies the NEQ predicate on the "event_type" field.
func EventTypeNotIn ¶
func EventTypeNotIn(vs ...enums.WorkflowEventType) predicate.WorkflowEvent
EventTypeNotIn applies the NotIn predicate on the "event_type" field.
func EventTypeValidator ¶
func EventTypeValidator(et enums.WorkflowEventType) error
EventTypeValidator is a validator for the "event_type" field enum values. It is called by the builders before save.
func HasOwner ¶
func HasOwner() predicate.WorkflowEvent
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.WorkflowEvent
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasWorkflowInstance ¶
func HasWorkflowInstance() predicate.WorkflowEvent
HasWorkflowInstance applies the HasEdge predicate on the "workflow_instance" edge.
func HasWorkflowInstanceWith ¶
func HasWorkflowInstanceWith(preds ...predicate.WorkflowInstance) predicate.WorkflowEvent
HasWorkflowInstanceWith applies the HasEdge predicate on the "workflow_instance" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.WorkflowEvent
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.WorkflowEvent
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.WorkflowEvent
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.WorkflowEvent
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.WorkflowEvent
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.WorkflowEvent
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.WorkflowEvent
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.WorkflowEvent
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.WorkflowEvent
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.WorkflowEvent
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.WorkflowEvent) predicate.WorkflowEvent
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkflowEvent) predicate.WorkflowEvent
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v string) predicate.WorkflowEvent
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.WorkflowEvent
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.WorkflowEvent
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.WorkflowEvent
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.WorkflowEvent
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.WorkflowEvent
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.WorkflowEvent
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.WorkflowEvent
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.WorkflowEvent
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.WorkflowEvent
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶
func OwnerIDIsNil() predicate.WorkflowEvent
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.WorkflowEvent
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.WorkflowEvent
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.WorkflowEvent
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.WorkflowEvent
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
func OwnerIDNotNil() predicate.WorkflowEvent
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func PayloadIsNil ¶
func PayloadIsNil() predicate.WorkflowEvent
PayloadIsNil applies the IsNil predicate on the "payload" field.
func PayloadNotNil ¶
func PayloadNotNil() predicate.WorkflowEvent
PayloadNotNil applies the NotNil predicate on the "payload" field.
func TagsIsNil ¶
func TagsIsNil() predicate.WorkflowEvent
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.WorkflowEvent
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.WorkflowEvent
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.WorkflowEvent
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.WorkflowEvent
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.WorkflowEvent
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.WorkflowEvent
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.WorkflowEvent
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.WorkflowEvent
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.WorkflowEvent
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.WorkflowEvent
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.WorkflowEvent
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.WorkflowEvent
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.WorkflowEvent
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.WorkflowEvent
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.WorkflowEvent
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.WorkflowEvent
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.WorkflowEvent
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.WorkflowEvent
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.WorkflowEvent
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.WorkflowEvent
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.WorkflowEvent
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.WorkflowEvent
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.WorkflowEvent
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.WorkflowEvent
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.WorkflowEvent
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.WorkflowEvent
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.WorkflowEvent
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.WorkflowEvent
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkflowInstanceID ¶
func WorkflowInstanceID(v string) predicate.WorkflowEvent
WorkflowInstanceID applies equality check predicate on the "workflow_instance_id" field. It's identical to WorkflowInstanceIDEQ.
func WorkflowInstanceIDContains ¶
func WorkflowInstanceIDContains(v string) predicate.WorkflowEvent
WorkflowInstanceIDContains applies the Contains predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDContainsFold ¶
func WorkflowInstanceIDContainsFold(v string) predicate.WorkflowEvent
WorkflowInstanceIDContainsFold applies the ContainsFold predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDEQ ¶
func WorkflowInstanceIDEQ(v string) predicate.WorkflowEvent
WorkflowInstanceIDEQ applies the EQ predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDEqualFold ¶
func WorkflowInstanceIDEqualFold(v string) predicate.WorkflowEvent
WorkflowInstanceIDEqualFold applies the EqualFold predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDGT ¶
func WorkflowInstanceIDGT(v string) predicate.WorkflowEvent
WorkflowInstanceIDGT applies the GT predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDGTE ¶
func WorkflowInstanceIDGTE(v string) predicate.WorkflowEvent
WorkflowInstanceIDGTE applies the GTE predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDHasPrefix ¶
func WorkflowInstanceIDHasPrefix(v string) predicate.WorkflowEvent
WorkflowInstanceIDHasPrefix applies the HasPrefix predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDHasSuffix ¶
func WorkflowInstanceIDHasSuffix(v string) predicate.WorkflowEvent
WorkflowInstanceIDHasSuffix applies the HasSuffix predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDIn ¶
func WorkflowInstanceIDIn(vs ...string) predicate.WorkflowEvent
WorkflowInstanceIDIn applies the In predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDLT ¶
func WorkflowInstanceIDLT(v string) predicate.WorkflowEvent
WorkflowInstanceIDLT applies the LT predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDLTE ¶
func WorkflowInstanceIDLTE(v string) predicate.WorkflowEvent
WorkflowInstanceIDLTE applies the LTE predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDNEQ ¶
func WorkflowInstanceIDNEQ(v string) predicate.WorkflowEvent
WorkflowInstanceIDNEQ applies the NEQ predicate on the "workflow_instance_id" field.
func WorkflowInstanceIDNotIn ¶
func WorkflowInstanceIDNotIn(vs ...string) predicate.WorkflowEvent
WorkflowInstanceIDNotIn applies the NotIn predicate on the "workflow_instance_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkflowEvent queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDisplayID ¶
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByEventType ¶
func ByEventType(opts ...sql.OrderTermOption) OrderOption
ByEventType orders the results by the event_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByWorkflowInstanceField ¶
func ByWorkflowInstanceField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkflowInstanceField orders the results by workflow_instance field.
func ByWorkflowInstanceID ¶
func ByWorkflowInstanceID(opts ...sql.OrderTermOption) OrderOption
ByWorkflowInstanceID orders the results by the workflow_instance_id field.