Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProcInst) predicate.ProcInst
- func AppID(v int) predicate.ProcInst
- func AppIDEQ(v int) predicate.ProcInst
- func AppIDGT(v int) predicate.ProcInst
- func AppIDGTE(v int) predicate.ProcInst
- func AppIDIn(vs ...int) predicate.ProcInst
- func AppIDLT(v int) predicate.ProcInst
- func AppIDLTE(v int) predicate.ProcInst
- func AppIDNEQ(v int) predicate.ProcInst
- func AppIDNotIn(vs ...int) predicate.ProcInst
- func BusinessKey(v string) predicate.ProcInst
- func BusinessKeyContains(v string) predicate.ProcInst
- func BusinessKeyContainsFold(v string) predicate.ProcInst
- func BusinessKeyEQ(v string) predicate.ProcInst
- func BusinessKeyEqualFold(v string) predicate.ProcInst
- func BusinessKeyGT(v string) predicate.ProcInst
- func BusinessKeyGTE(v string) predicate.ProcInst
- func BusinessKeyHasPrefix(v string) predicate.ProcInst
- func BusinessKeyHasSuffix(v string) predicate.ProcInst
- func BusinessKeyIn(vs ...string) predicate.ProcInst
- func BusinessKeyLT(v string) predicate.ProcInst
- func BusinessKeyLTE(v string) predicate.ProcInst
- func BusinessKeyNEQ(v string) predicate.ProcInst
- func BusinessKeyNotIn(vs ...string) predicate.ProcInst
- func CreatedAt(v time.Time) predicate.ProcInst
- func CreatedAtEQ(v time.Time) predicate.ProcInst
- func CreatedAtGT(v time.Time) predicate.ProcInst
- func CreatedAtGTE(v time.Time) predicate.ProcInst
- func CreatedAtIn(vs ...time.Time) predicate.ProcInst
- func CreatedAtLT(v time.Time) predicate.ProcInst
- func CreatedAtLTE(v time.Time) predicate.ProcInst
- func CreatedAtNEQ(v time.Time) predicate.ProcInst
- func CreatedAtNotIn(vs ...time.Time) predicate.ProcInst
- func CreatedBy(v int) predicate.ProcInst
- func CreatedByEQ(v int) predicate.ProcInst
- func CreatedByGT(v int) predicate.ProcInst
- func CreatedByGTE(v int) predicate.ProcInst
- func CreatedByIn(vs ...int) predicate.ProcInst
- func CreatedByLT(v int) predicate.ProcInst
- func CreatedByLTE(v int) predicate.ProcInst
- func CreatedByNEQ(v int) predicate.ProcInst
- func CreatedByNotIn(vs ...int) predicate.ProcInst
- func DeletedReason(v string) predicate.ProcInst
- func DeletedReasonContains(v string) predicate.ProcInst
- func DeletedReasonContainsFold(v string) predicate.ProcInst
- func DeletedReasonEQ(v string) predicate.ProcInst
- func DeletedReasonEqualFold(v string) predicate.ProcInst
- func DeletedReasonGT(v string) predicate.ProcInst
- func DeletedReasonGTE(v string) predicate.ProcInst
- func DeletedReasonHasPrefix(v string) predicate.ProcInst
- func DeletedReasonHasSuffix(v string) predicate.ProcInst
- func DeletedReasonIn(vs ...string) predicate.ProcInst
- func DeletedReasonIsNil() predicate.ProcInst
- func DeletedReasonLT(v string) predicate.ProcInst
- func DeletedReasonLTE(v string) predicate.ProcInst
- func DeletedReasonNEQ(v string) predicate.ProcInst
- func DeletedReasonNotIn(vs ...string) predicate.ProcInst
- func DeletedReasonNotNil() predicate.ProcInst
- func DeletedTime(v time.Time) predicate.ProcInst
- func DeletedTimeEQ(v time.Time) predicate.ProcInst
- func DeletedTimeGT(v time.Time) predicate.ProcInst
- func DeletedTimeGTE(v time.Time) predicate.ProcInst
- func DeletedTimeIn(vs ...time.Time) predicate.ProcInst
- func DeletedTimeIsNil() predicate.ProcInst
- func DeletedTimeLT(v time.Time) predicate.ProcInst
- func DeletedTimeLTE(v time.Time) predicate.ProcInst
- func DeletedTimeNEQ(v time.Time) predicate.ProcInst
- func DeletedTimeNotIn(vs ...time.Time) predicate.ProcInst
- func DeletedTimeNotNil() predicate.ProcInst
- func Duration(v int) predicate.ProcInst
- func DurationEQ(v int) predicate.ProcInst
- func DurationGT(v int) predicate.ProcInst
- func DurationGTE(v int) predicate.ProcInst
- func DurationIn(vs ...int) predicate.ProcInst
- func DurationIsNil() predicate.ProcInst
- func DurationLT(v int) predicate.ProcInst
- func DurationLTE(v int) predicate.ProcInst
- func DurationNEQ(v int) predicate.ProcInst
- func DurationNotIn(vs ...int) predicate.ProcInst
- func DurationNotNil() predicate.ProcInst
- func EndTime(v time.Time) predicate.ProcInst
- func EndTimeEQ(v time.Time) predicate.ProcInst
- func EndTimeGT(v time.Time) predicate.ProcInst
- func EndTimeGTE(v time.Time) predicate.ProcInst
- func EndTimeIn(vs ...time.Time) predicate.ProcInst
- func EndTimeIsNil() predicate.ProcInst
- func EndTimeLT(v time.Time) predicate.ProcInst
- func EndTimeLTE(v time.Time) predicate.ProcInst
- func EndTimeNEQ(v time.Time) predicate.ProcInst
- func EndTimeNotIn(vs ...time.Time) predicate.ProcInst
- func EndTimeNotNil() predicate.ProcInst
- func HasProcDef() predicate.ProcInst
- func HasProcDefWith(preds ...predicate.ProcDef) predicate.ProcInst
- func HasTasks() predicate.ProcInst
- func HasTasksWith(preds ...predicate.Task) predicate.ProcInst
- func ID(id int) predicate.ProcInst
- func IDEQ(id int) predicate.ProcInst
- func IDGT(id int) predicate.ProcInst
- func IDGTE(id int) predicate.ProcInst
- func IDIn(ids ...int) predicate.ProcInst
- func IDLT(id int) predicate.ProcInst
- func IDLTE(id int) predicate.ProcInst
- func IDNEQ(id int) predicate.ProcInst
- func IDNotIn(ids ...int) predicate.ProcInst
- func Not(p predicate.ProcInst) predicate.ProcInst
- func Or(predicates ...predicate.ProcInst) predicate.ProcInst
- func ProcDefID(v int) predicate.ProcInst
- func ProcDefIDEQ(v int) predicate.ProcInst
- func ProcDefIDIn(vs ...int) predicate.ProcInst
- func ProcDefIDNEQ(v int) predicate.ProcInst
- func ProcDefIDNotIn(vs ...int) predicate.ProcInst
- func RootInstanceID(v int) predicate.ProcInst
- func RootInstanceIDEQ(v int) predicate.ProcInst
- func RootInstanceIDGT(v int) predicate.ProcInst
- func RootInstanceIDGTE(v int) predicate.ProcInst
- func RootInstanceIDIn(vs ...int) predicate.ProcInst
- func RootInstanceIDIsNil() predicate.ProcInst
- func RootInstanceIDLT(v int) predicate.ProcInst
- func RootInstanceIDLTE(v int) predicate.ProcInst
- func RootInstanceIDNEQ(v int) predicate.ProcInst
- func RootInstanceIDNotIn(vs ...int) predicate.ProcInst
- func RootInstanceIDNotNil() predicate.ProcInst
- func StartTime(v time.Time) predicate.ProcInst
- func StartTimeEQ(v time.Time) predicate.ProcInst
- func StartTimeGT(v time.Time) predicate.ProcInst
- func StartTimeGTE(v time.Time) predicate.ProcInst
- func StartTimeIn(vs ...time.Time) predicate.ProcInst
- func StartTimeLT(v time.Time) predicate.ProcInst
- func StartTimeLTE(v time.Time) predicate.ProcInst
- func StartTimeNEQ(v time.Time) predicate.ProcInst
- func StartTimeNotIn(vs ...time.Time) predicate.ProcInst
- func StartUserID(v int) predicate.ProcInst
- func StartUserIDEQ(v int) predicate.ProcInst
- func StartUserIDGT(v int) predicate.ProcInst
- func StartUserIDGTE(v int) predicate.ProcInst
- func StartUserIDIn(vs ...int) predicate.ProcInst
- func StartUserIDLT(v int) predicate.ProcInst
- func StartUserIDLTE(v int) predicate.ProcInst
- func StartUserIDNEQ(v int) predicate.ProcInst
- func StartUserIDNotIn(vs ...int) predicate.ProcInst
- func StatusEQ(v Status) predicate.ProcInst
- func StatusIn(vs ...Status) predicate.ProcInst
- func StatusNEQ(v Status) predicate.ProcInst
- func StatusNotIn(vs ...Status) predicate.ProcInst
- func StatusValidator(s Status) error
- func SupperInstanceID(v int) predicate.ProcInst
- func SupperInstanceIDEQ(v int) predicate.ProcInst
- func SupperInstanceIDGT(v int) predicate.ProcInst
- func SupperInstanceIDGTE(v int) predicate.ProcInst
- func SupperInstanceIDIn(vs ...int) predicate.ProcInst
- func SupperInstanceIDIsNil() predicate.ProcInst
- func SupperInstanceIDLT(v int) predicate.ProcInst
- func SupperInstanceIDLTE(v int) predicate.ProcInst
- func SupperInstanceIDNEQ(v int) predicate.ProcInst
- func SupperInstanceIDNotIn(vs ...int) predicate.ProcInst
- func SupperInstanceIDNotNil() predicate.ProcInst
- func TenantID(v int) predicate.ProcInst
- func TenantIDEQ(v int) predicate.ProcInst
- func TenantIDGT(v int) predicate.ProcInst
- func TenantIDGTE(v int) predicate.ProcInst
- func TenantIDIn(vs ...int) predicate.ProcInst
- func TenantIDLT(v int) predicate.ProcInst
- func TenantIDLTE(v int) predicate.ProcInst
- func TenantIDNEQ(v int) predicate.ProcInst
- func TenantIDNotIn(vs ...int) predicate.ProcInst
- func UpdatedAt(v time.Time) predicate.ProcInst
- func UpdatedAtEQ(v time.Time) predicate.ProcInst
- func UpdatedAtGT(v time.Time) predicate.ProcInst
- func UpdatedAtGTE(v time.Time) predicate.ProcInst
- func UpdatedAtIn(vs ...time.Time) predicate.ProcInst
- func UpdatedAtIsNil() predicate.ProcInst
- func UpdatedAtLT(v time.Time) predicate.ProcInst
- func UpdatedAtLTE(v time.Time) predicate.ProcInst
- func UpdatedAtNEQ(v time.Time) predicate.ProcInst
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProcInst
- func UpdatedAtNotNil() predicate.ProcInst
- func UpdatedBy(v int) predicate.ProcInst
- func UpdatedByEQ(v int) predicate.ProcInst
- func UpdatedByGT(v int) predicate.ProcInst
- func UpdatedByGTE(v int) predicate.ProcInst
- func UpdatedByIn(vs ...int) predicate.ProcInst
- func UpdatedByIsNil() predicate.ProcInst
- func UpdatedByLT(v int) predicate.ProcInst
- func UpdatedByLTE(v int) predicate.ProcInst
- func UpdatedByNEQ(v int) predicate.ProcInst
- func UpdatedByNotIn(vs ...int) predicate.ProcInst
- func UpdatedByNotNil() predicate.ProcInst
- func ValidColumn(column string) bool
- type OrderOption
- func ByAppID(opts ...sql.OrderTermOption) OrderOption
- func ByBusinessKey(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedReason(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedTime(opts ...sql.OrderTermOption) OrderOption
- func ByDuration(opts ...sql.OrderTermOption) OrderOption
- func ByEndTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByProcDefField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProcDefID(opts ...sql.OrderTermOption) OrderOption
- func ByRootInstanceID(opts ...sql.OrderTermOption) OrderOption
- func ByStartTime(opts ...sql.OrderTermOption) OrderOption
- func ByStartUserID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySupperInstanceID(opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the procinst type in the database. Label = "proc_inst" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldProcDefID holds the string denoting the proc_def_id field in the database. FieldProcDefID = "proc_def_id" // FieldAppID holds the string denoting the app_id field in the database. FieldAppID = "app_id" // FieldBusinessKey holds the string denoting the business_key field in the database. FieldBusinessKey = "business_key" // FieldStartTime holds the string denoting the start_time field in the database. FieldStartTime = "start_time" // FieldEndTime holds the string denoting the end_time field in the database. FieldEndTime = "end_time" // FieldDuration holds the string denoting the duration field in the database. FieldDuration = "duration" // FieldStartUserID holds the string denoting the start_user_id field in the database. FieldStartUserID = "start_user_id" // FieldSupperInstanceID holds the string denoting the supper_instance_id field in the database. FieldSupperInstanceID = "supper_instance_id" // FieldRootInstanceID holds the string denoting the root_instance_id field in the database. FieldRootInstanceID = "root_instance_id" // FieldDeletedTime holds the string denoting the deleted_time field in the database. FieldDeletedTime = "deleted_time" // FieldDeletedReason holds the string denoting the deleted_reason field in the database. FieldDeletedReason = "deleted_reason" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeProcDef holds the string denoting the proc_def edge name in mutations. EdgeProcDef = "proc_def" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // Table holds the table name of the procinst in the database. Table = "act_proc_inst" // ProcDefTable is the table that holds the proc_def relation/edge. ProcDefTable = "act_proc_inst" // ProcDefInverseTable is the table name for the ProcDef entity. // It exists in this package in order to avoid circular dependency with the "procdef" package. ProcDefInverseTable = "act_proc_def" // ProcDefColumn is the table column denoting the proc_def relation/edge. ProcDefColumn = "proc_def_id" // TasksTable is the table that holds the tasks relation/edge. TasksTable = "act_task" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "act_task" // TasksColumn is the table column denoting the tasks relation/edge. TasksColumn = "proc_inst_id" )
Variables ¶
var ( Hooks [2]ent.Hook Interceptors [1]ent.Interceptor // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultStartTime holds the default value on creation for the "start_time" field. DefaultStartTime func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() int )
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/woocoos/workflow/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldTenantID, FieldProcDefID, FieldAppID, FieldBusinessKey, FieldStartTime, FieldEndTime, FieldDuration, FieldStartUserID, FieldSupperInstanceID, FieldRootInstanceID, FieldDeletedTime, FieldDeletedReason, FieldStatus, }
Columns holds all SQL columns for procinst fields.
Functions ¶
func AppID ¶
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDNotIn ¶
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func BusinessKey ¶
BusinessKey applies equality check predicate on the "business_key" field. It's identical to BusinessKeyEQ.
func BusinessKeyContains ¶
BusinessKeyContains applies the Contains predicate on the "business_key" field.
func BusinessKeyContainsFold ¶
BusinessKeyContainsFold applies the ContainsFold predicate on the "business_key" field.
func BusinessKeyEQ ¶
BusinessKeyEQ applies the EQ predicate on the "business_key" field.
func BusinessKeyEqualFold ¶
BusinessKeyEqualFold applies the EqualFold predicate on the "business_key" field.
func BusinessKeyGT ¶
BusinessKeyGT applies the GT predicate on the "business_key" field.
func BusinessKeyGTE ¶
BusinessKeyGTE applies the GTE predicate on the "business_key" field.
func BusinessKeyHasPrefix ¶
BusinessKeyHasPrefix applies the HasPrefix predicate on the "business_key" field.
func BusinessKeyHasSuffix ¶
BusinessKeyHasSuffix applies the HasSuffix predicate on the "business_key" field.
func BusinessKeyIn ¶
BusinessKeyIn applies the In predicate on the "business_key" field.
func BusinessKeyLT ¶
BusinessKeyLT applies the LT predicate on the "business_key" field.
func BusinessKeyLTE ¶
BusinessKeyLTE applies the LTE predicate on the "business_key" field.
func BusinessKeyNEQ ¶
BusinessKeyNEQ applies the NEQ predicate on the "business_key" field.
func BusinessKeyNotIn ¶
BusinessKeyNotIn applies the NotIn predicate on the "business_key" 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 ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func DeletedReason ¶
DeletedReason applies equality check predicate on the "deleted_reason" field. It's identical to DeletedReasonEQ.
func DeletedReasonContains ¶
DeletedReasonContains applies the Contains predicate on the "deleted_reason" field.
func DeletedReasonContainsFold ¶
DeletedReasonContainsFold applies the ContainsFold predicate on the "deleted_reason" field.
func DeletedReasonEQ ¶
DeletedReasonEQ applies the EQ predicate on the "deleted_reason" field.
func DeletedReasonEqualFold ¶
DeletedReasonEqualFold applies the EqualFold predicate on the "deleted_reason" field.
func DeletedReasonGT ¶
DeletedReasonGT applies the GT predicate on the "deleted_reason" field.
func DeletedReasonGTE ¶
DeletedReasonGTE applies the GTE predicate on the "deleted_reason" field.
func DeletedReasonHasPrefix ¶
DeletedReasonHasPrefix applies the HasPrefix predicate on the "deleted_reason" field.
func DeletedReasonHasSuffix ¶
DeletedReasonHasSuffix applies the HasSuffix predicate on the "deleted_reason" field.
func DeletedReasonIn ¶
DeletedReasonIn applies the In predicate on the "deleted_reason" field.
func DeletedReasonIsNil ¶
DeletedReasonIsNil applies the IsNil predicate on the "deleted_reason" field.
func DeletedReasonLT ¶
DeletedReasonLT applies the LT predicate on the "deleted_reason" field.
func DeletedReasonLTE ¶
DeletedReasonLTE applies the LTE predicate on the "deleted_reason" field.
func DeletedReasonNEQ ¶
DeletedReasonNEQ applies the NEQ predicate on the "deleted_reason" field.
func DeletedReasonNotIn ¶
DeletedReasonNotIn applies the NotIn predicate on the "deleted_reason" field.
func DeletedReasonNotNil ¶
DeletedReasonNotNil applies the NotNil predicate on the "deleted_reason" field.
func DeletedTime ¶
DeletedTime applies equality check predicate on the "deleted_time" field. It's identical to DeletedTimeEQ.
func DeletedTimeEQ ¶
DeletedTimeEQ applies the EQ predicate on the "deleted_time" field.
func DeletedTimeGT ¶
DeletedTimeGT applies the GT predicate on the "deleted_time" field.
func DeletedTimeGTE ¶
DeletedTimeGTE applies the GTE predicate on the "deleted_time" field.
func DeletedTimeIn ¶
DeletedTimeIn applies the In predicate on the "deleted_time" field.
func DeletedTimeIsNil ¶
DeletedTimeIsNil applies the IsNil predicate on the "deleted_time" field.
func DeletedTimeLT ¶
DeletedTimeLT applies the LT predicate on the "deleted_time" field.
func DeletedTimeLTE ¶
DeletedTimeLTE applies the LTE predicate on the "deleted_time" field.
func DeletedTimeNEQ ¶
DeletedTimeNEQ applies the NEQ predicate on the "deleted_time" field.
func DeletedTimeNotIn ¶
DeletedTimeNotIn applies the NotIn predicate on the "deleted_time" field.
func DeletedTimeNotNil ¶
DeletedTimeNotNil applies the NotNil predicate on the "deleted_time" field.
func Duration ¶
Duration applies equality check predicate on the "duration" field. It's identical to DurationEQ.
func DurationEQ ¶
DurationEQ applies the EQ predicate on the "duration" field.
func DurationGT ¶
DurationGT applies the GT predicate on the "duration" field.
func DurationGTE ¶
DurationGTE applies the GTE predicate on the "duration" field.
func DurationIn ¶
DurationIn applies the In predicate on the "duration" field.
func DurationIsNil ¶
DurationIsNil applies the IsNil predicate on the "duration" field.
func DurationLT ¶
DurationLT applies the LT predicate on the "duration" field.
func DurationLTE ¶
DurationLTE applies the LTE predicate on the "duration" field.
func DurationNEQ ¶
DurationNEQ applies the NEQ predicate on the "duration" field.
func DurationNotIn ¶
DurationNotIn applies the NotIn predicate on the "duration" field.
func DurationNotNil ¶
DurationNotNil applies the NotNil predicate on the "duration" field.
func EndTime ¶
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeGTE ¶
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeIsNil ¶
EndTimeIsNil applies the IsNil predicate on the "end_time" field.
func EndTimeLTE ¶
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
func EndTimeNotNil ¶
EndTimeNotNil applies the NotNil predicate on the "end_time" field.
func HasProcDef ¶
HasProcDef applies the HasEdge predicate on the "proc_def" edge.
func HasProcDefWith ¶
HasProcDefWith applies the HasEdge predicate on the "proc_def" edge with a given conditions (other predicates).
func HasTasksWith ¶
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func ProcDefID ¶
ProcDefID applies equality check predicate on the "proc_def_id" field. It's identical to ProcDefIDEQ.
func ProcDefIDEQ ¶
ProcDefIDEQ applies the EQ predicate on the "proc_def_id" field.
func ProcDefIDIn ¶
ProcDefIDIn applies the In predicate on the "proc_def_id" field.
func ProcDefIDNEQ ¶
ProcDefIDNEQ applies the NEQ predicate on the "proc_def_id" field.
func ProcDefIDNotIn ¶
ProcDefIDNotIn applies the NotIn predicate on the "proc_def_id" field.
func RootInstanceID ¶
RootInstanceID applies equality check predicate on the "root_instance_id" field. It's identical to RootInstanceIDEQ.
func RootInstanceIDEQ ¶
RootInstanceIDEQ applies the EQ predicate on the "root_instance_id" field.
func RootInstanceIDGT ¶
RootInstanceIDGT applies the GT predicate on the "root_instance_id" field.
func RootInstanceIDGTE ¶
RootInstanceIDGTE applies the GTE predicate on the "root_instance_id" field.
func RootInstanceIDIn ¶
RootInstanceIDIn applies the In predicate on the "root_instance_id" field.
func RootInstanceIDIsNil ¶
RootInstanceIDIsNil applies the IsNil predicate on the "root_instance_id" field.
func RootInstanceIDLT ¶
RootInstanceIDLT applies the LT predicate on the "root_instance_id" field.
func RootInstanceIDLTE ¶
RootInstanceIDLTE applies the LTE predicate on the "root_instance_id" field.
func RootInstanceIDNEQ ¶
RootInstanceIDNEQ applies the NEQ predicate on the "root_instance_id" field.
func RootInstanceIDNotIn ¶
RootInstanceIDNotIn applies the NotIn predicate on the "root_instance_id" field.
func RootInstanceIDNotNil ¶
RootInstanceIDNotNil applies the NotNil predicate on the "root_instance_id" field.
func StartTime ¶
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeEQ ¶
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeGT ¶
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeIn ¶
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeLT ¶
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
func StartUserID ¶
StartUserID applies equality check predicate on the "start_user_id" field. It's identical to StartUserIDEQ.
func StartUserIDEQ ¶
StartUserIDEQ applies the EQ predicate on the "start_user_id" field.
func StartUserIDGT ¶
StartUserIDGT applies the GT predicate on the "start_user_id" field.
func StartUserIDGTE ¶
StartUserIDGTE applies the GTE predicate on the "start_user_id" field.
func StartUserIDIn ¶
StartUserIDIn applies the In predicate on the "start_user_id" field.
func StartUserIDLT ¶
StartUserIDLT applies the LT predicate on the "start_user_id" field.
func StartUserIDLTE ¶
StartUserIDLTE applies the LTE predicate on the "start_user_id" field.
func StartUserIDNEQ ¶
StartUserIDNEQ applies the NEQ predicate on the "start_user_id" field.
func StartUserIDNotIn ¶
StartUserIDNotIn applies the NotIn predicate on the "start_user_id" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func SupperInstanceID ¶
SupperInstanceID applies equality check predicate on the "supper_instance_id" field. It's identical to SupperInstanceIDEQ.
func SupperInstanceIDEQ ¶
SupperInstanceIDEQ applies the EQ predicate on the "supper_instance_id" field.
func SupperInstanceIDGT ¶
SupperInstanceIDGT applies the GT predicate on the "supper_instance_id" field.
func SupperInstanceIDGTE ¶
SupperInstanceIDGTE applies the GTE predicate on the "supper_instance_id" field.
func SupperInstanceIDIn ¶
SupperInstanceIDIn applies the In predicate on the "supper_instance_id" field.
func SupperInstanceIDIsNil ¶
SupperInstanceIDIsNil applies the IsNil predicate on the "supper_instance_id" field.
func SupperInstanceIDLT ¶
SupperInstanceIDLT applies the LT predicate on the "supper_instance_id" field.
func SupperInstanceIDLTE ¶
SupperInstanceIDLTE applies the LTE predicate on the "supper_instance_id" field.
func SupperInstanceIDNEQ ¶
SupperInstanceIDNEQ applies the NEQ predicate on the "supper_instance_id" field.
func SupperInstanceIDNotIn ¶
SupperInstanceIDNotIn applies the NotIn predicate on the "supper_instance_id" field.
func SupperInstanceIDNotNil ¶
SupperInstanceIDNotNil applies the NotNil predicate on the "supper_instance_id" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProcInst queries.
func ByAppID ¶
func ByAppID(opts ...sql.OrderTermOption) OrderOption
ByAppID orders the results by the app_id field.
func ByBusinessKey ¶
func ByBusinessKey(opts ...sql.OrderTermOption) OrderOption
ByBusinessKey orders the results by the business_key field.
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 ByDeletedReason ¶
func ByDeletedReason(opts ...sql.OrderTermOption) OrderOption
ByDeletedReason orders the results by the deleted_reason field.
func ByDeletedTime ¶
func ByDeletedTime(opts ...sql.OrderTermOption) OrderOption
ByDeletedTime orders the results by the deleted_time field.
func ByDuration ¶
func ByDuration(opts ...sql.OrderTermOption) OrderOption
ByDuration orders the results by the duration field.
func ByEndTime ¶
func ByEndTime(opts ...sql.OrderTermOption) OrderOption
ByEndTime orders the results by the end_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByProcDefField ¶
func ByProcDefField(field string, opts ...sql.OrderTermOption) OrderOption
ByProcDefField orders the results by proc_def field.
func ByProcDefID ¶
func ByProcDefID(opts ...sql.OrderTermOption) OrderOption
ByProcDefID orders the results by the proc_def_id field.
func ByRootInstanceID ¶
func ByRootInstanceID(opts ...sql.OrderTermOption) OrderOption
ByRootInstanceID orders the results by the root_instance_id field.
func ByStartTime ¶
func ByStartTime(opts ...sql.OrderTermOption) OrderOption
ByStartTime orders the results by the start_time field.
func ByStartUserID ¶
func ByStartUserID(opts ...sql.OrderTermOption) OrderOption
ByStartUserID orders the results by the start_user_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySupperInstanceID ¶
func BySupperInstanceID(opts ...sql.OrderTermOption) OrderOption
BySupperInstanceID orders the results by the supper_instance_id field.
func ByTasks ¶
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_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.
type Status ¶
type Status string
Status defines the type for the "status" enum field.
const ( StatusReady Status = "ready" StatusActive Status = "active" StatusCompleted Status = "completed" StatusFailed Status = "failed" StatusTerminated Status = "terminated" StatusSuspended Status = "suspended" StatusDeleted Status = "deleted" )
Status values.
func (Status) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Status) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.