Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IdentityLink) predicate.IdentityLink
- func AssignerID(v int) predicate.IdentityLink
- func AssignerIDEQ(v int) predicate.IdentityLink
- func AssignerIDGT(v int) predicate.IdentityLink
- func AssignerIDGTE(v int) predicate.IdentityLink
- func AssignerIDIn(vs ...int) predicate.IdentityLink
- func AssignerIDIsNil() predicate.IdentityLink
- func AssignerIDLT(v int) predicate.IdentityLink
- func AssignerIDLTE(v int) predicate.IdentityLink
- func AssignerIDNEQ(v int) predicate.IdentityLink
- func AssignerIDNotIn(vs ...int) predicate.IdentityLink
- func AssignerIDNotNil() predicate.IdentityLink
- func Comments(v string) predicate.IdentityLink
- func CommentsContains(v string) predicate.IdentityLink
- func CommentsContainsFold(v string) predicate.IdentityLink
- func CommentsEQ(v string) predicate.IdentityLink
- func CommentsEqualFold(v string) predicate.IdentityLink
- func CommentsGT(v string) predicate.IdentityLink
- func CommentsGTE(v string) predicate.IdentityLink
- func CommentsHasPrefix(v string) predicate.IdentityLink
- func CommentsHasSuffix(v string) predicate.IdentityLink
- func CommentsIn(vs ...string) predicate.IdentityLink
- func CommentsIsNil() predicate.IdentityLink
- func CommentsLT(v string) predicate.IdentityLink
- func CommentsLTE(v string) predicate.IdentityLink
- func CommentsNEQ(v string) predicate.IdentityLink
- func CommentsNotIn(vs ...string) predicate.IdentityLink
- func CommentsNotNil() predicate.IdentityLink
- func GroupID(v int) predicate.IdentityLink
- func GroupIDEQ(v int) predicate.IdentityLink
- func GroupIDGT(v int) predicate.IdentityLink
- func GroupIDGTE(v int) predicate.IdentityLink
- func GroupIDIn(vs ...int) predicate.IdentityLink
- func GroupIDIsNil() predicate.IdentityLink
- func GroupIDLT(v int) predicate.IdentityLink
- func GroupIDLTE(v int) predicate.IdentityLink
- func GroupIDNEQ(v int) predicate.IdentityLink
- func GroupIDNotIn(vs ...int) predicate.IdentityLink
- func GroupIDNotNil() predicate.IdentityLink
- func HasTask() predicate.IdentityLink
- func HasTaskWith(preds ...predicate.Task) predicate.IdentityLink
- func ID(id int) predicate.IdentityLink
- func IDEQ(id int) predicate.IdentityLink
- func IDGT(id int) predicate.IdentityLink
- func IDGTE(id int) predicate.IdentityLink
- func IDIn(ids ...int) predicate.IdentityLink
- func IDLT(id int) predicate.IdentityLink
- func IDLTE(id int) predicate.IdentityLink
- func IDNEQ(id int) predicate.IdentityLink
- func IDNotIn(ids ...int) predicate.IdentityLink
- func LinkTypeEQ(v LinkType) predicate.IdentityLink
- func LinkTypeIn(vs ...LinkType) predicate.IdentityLink
- func LinkTypeNEQ(v LinkType) predicate.IdentityLink
- func LinkTypeNotIn(vs ...LinkType) predicate.IdentityLink
- func LinkTypeValidator(lt LinkType) error
- func Not(p predicate.IdentityLink) predicate.IdentityLink
- func OperationTypeEQ(v OperationType) predicate.IdentityLink
- func OperationTypeIn(vs ...OperationType) predicate.IdentityLink
- func OperationTypeNEQ(v OperationType) predicate.IdentityLink
- func OperationTypeNotIn(vs ...OperationType) predicate.IdentityLink
- func OperationTypeValidator(ot OperationType) error
- func Or(predicates ...predicate.IdentityLink) predicate.IdentityLink
- func ProcDefID(v int) predicate.IdentityLink
- func ProcDefIDEQ(v int) predicate.IdentityLink
- func ProcDefIDGT(v int) predicate.IdentityLink
- func ProcDefIDGTE(v int) predicate.IdentityLink
- func ProcDefIDIn(vs ...int) predicate.IdentityLink
- func ProcDefIDLT(v int) predicate.IdentityLink
- func ProcDefIDLTE(v int) predicate.IdentityLink
- func ProcDefIDNEQ(v int) predicate.IdentityLink
- func ProcDefIDNotIn(vs ...int) predicate.IdentityLink
- func TaskID(v int) predicate.IdentityLink
- func TaskIDEQ(v int) predicate.IdentityLink
- func TaskIDIn(vs ...int) predicate.IdentityLink
- func TaskIDNEQ(v int) predicate.IdentityLink
- func TaskIDNotIn(vs ...int) predicate.IdentityLink
- func TenantID(v int) predicate.IdentityLink
- func TenantIDEQ(v int) predicate.IdentityLink
- func TenantIDGT(v int) predicate.IdentityLink
- func TenantIDGTE(v int) predicate.IdentityLink
- func TenantIDIn(vs ...int) predicate.IdentityLink
- func TenantIDLT(v int) predicate.IdentityLink
- func TenantIDLTE(v int) predicate.IdentityLink
- func TenantIDNEQ(v int) predicate.IdentityLink
- func TenantIDNotIn(vs ...int) predicate.IdentityLink
- func UserID(v int) predicate.IdentityLink
- func UserIDEQ(v int) predicate.IdentityLink
- func UserIDGT(v int) predicate.IdentityLink
- func UserIDGTE(v int) predicate.IdentityLink
- func UserIDIn(vs ...int) predicate.IdentityLink
- func UserIDIsNil() predicate.IdentityLink
- func UserIDLT(v int) predicate.IdentityLink
- func UserIDLTE(v int) predicate.IdentityLink
- func UserIDNEQ(v int) predicate.IdentityLink
- func UserIDNotIn(vs ...int) predicate.IdentityLink
- func UserIDNotNil() predicate.IdentityLink
- func ValidColumn(column string) bool
- type LinkType
- type OperationType
- type OrderOption
- func ByAssignerID(opts ...sql.OrderTermOption) OrderOption
- func ByComments(opts ...sql.OrderTermOption) OrderOption
- func ByGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLinkType(opts ...sql.OrderTermOption) OrderOption
- func ByOperationType(opts ...sql.OrderTermOption) OrderOption
- func ByProcDefID(opts ...sql.OrderTermOption) OrderOption
- func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTaskID(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the identitylink type in the database. Label = "identity_link" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldTaskID holds the string denoting the task_id field in the database. FieldTaskID = "task_id" // FieldProcDefID holds the string denoting the proc_def_id field in the database. FieldProcDefID = "proc_def_id" // FieldGroupID holds the string denoting the group_id field in the database. FieldGroupID = "group_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldAssignerID holds the string denoting the assigner_id field in the database. FieldAssignerID = "assigner_id" // FieldLinkType holds the string denoting the link_type field in the database. FieldLinkType = "link_type" // FieldOperationType holds the string denoting the operation_type field in the database. FieldOperationType = "operation_type" // FieldComments holds the string denoting the comments field in the database. FieldComments = "comments" // EdgeTask holds the string denoting the task edge name in mutations. EdgeTask = "task" // Table holds the table name of the identitylink in the database. Table = "act_identity_link" // TaskTable is the table that holds the task relation/edge. TaskTable = "act_identity_link" // TaskInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TaskInverseTable = "act_task" // TaskColumn is the table column denoting the task relation/edge. TaskColumn = "task_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // 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, FieldTenantID, FieldTaskID, FieldProcDefID, FieldGroupID, FieldUserID, FieldAssignerID, FieldLinkType, FieldOperationType, FieldComments, }
Columns holds all SQL columns for identitylink fields.
Functions ¶
func And ¶
func And(predicates ...predicate.IdentityLink) predicate.IdentityLink
And groups predicates with the AND operator between them.
func AssignerID ¶
func AssignerID(v int) predicate.IdentityLink
AssignerID applies equality check predicate on the "assigner_id" field. It's identical to AssignerIDEQ.
func AssignerIDEQ ¶
func AssignerIDEQ(v int) predicate.IdentityLink
AssignerIDEQ applies the EQ predicate on the "assigner_id" field.
func AssignerIDGT ¶
func AssignerIDGT(v int) predicate.IdentityLink
AssignerIDGT applies the GT predicate on the "assigner_id" field.
func AssignerIDGTE ¶
func AssignerIDGTE(v int) predicate.IdentityLink
AssignerIDGTE applies the GTE predicate on the "assigner_id" field.
func AssignerIDIn ¶
func AssignerIDIn(vs ...int) predicate.IdentityLink
AssignerIDIn applies the In predicate on the "assigner_id" field.
func AssignerIDIsNil ¶
func AssignerIDIsNil() predicate.IdentityLink
AssignerIDIsNil applies the IsNil predicate on the "assigner_id" field.
func AssignerIDLT ¶
func AssignerIDLT(v int) predicate.IdentityLink
AssignerIDLT applies the LT predicate on the "assigner_id" field.
func AssignerIDLTE ¶
func AssignerIDLTE(v int) predicate.IdentityLink
AssignerIDLTE applies the LTE predicate on the "assigner_id" field.
func AssignerIDNEQ ¶
func AssignerIDNEQ(v int) predicate.IdentityLink
AssignerIDNEQ applies the NEQ predicate on the "assigner_id" field.
func AssignerIDNotIn ¶
func AssignerIDNotIn(vs ...int) predicate.IdentityLink
AssignerIDNotIn applies the NotIn predicate on the "assigner_id" field.
func AssignerIDNotNil ¶
func AssignerIDNotNil() predicate.IdentityLink
AssignerIDNotNil applies the NotNil predicate on the "assigner_id" field.
func Comments ¶
func Comments(v string) predicate.IdentityLink
Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.
func CommentsContains ¶
func CommentsContains(v string) predicate.IdentityLink
CommentsContains applies the Contains predicate on the "comments" field.
func CommentsContainsFold ¶
func CommentsContainsFold(v string) predicate.IdentityLink
CommentsContainsFold applies the ContainsFold predicate on the "comments" field.
func CommentsEQ ¶
func CommentsEQ(v string) predicate.IdentityLink
CommentsEQ applies the EQ predicate on the "comments" field.
func CommentsEqualFold ¶
func CommentsEqualFold(v string) predicate.IdentityLink
CommentsEqualFold applies the EqualFold predicate on the "comments" field.
func CommentsGT ¶
func CommentsGT(v string) predicate.IdentityLink
CommentsGT applies the GT predicate on the "comments" field.
func CommentsGTE ¶
func CommentsGTE(v string) predicate.IdentityLink
CommentsGTE applies the GTE predicate on the "comments" field.
func CommentsHasPrefix ¶
func CommentsHasPrefix(v string) predicate.IdentityLink
CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.
func CommentsHasSuffix ¶
func CommentsHasSuffix(v string) predicate.IdentityLink
CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.
func CommentsIn ¶
func CommentsIn(vs ...string) predicate.IdentityLink
CommentsIn applies the In predicate on the "comments" field.
func CommentsIsNil ¶
func CommentsIsNil() predicate.IdentityLink
CommentsIsNil applies the IsNil predicate on the "comments" field.
func CommentsLT ¶
func CommentsLT(v string) predicate.IdentityLink
CommentsLT applies the LT predicate on the "comments" field.
func CommentsLTE ¶
func CommentsLTE(v string) predicate.IdentityLink
CommentsLTE applies the LTE predicate on the "comments" field.
func CommentsNEQ ¶
func CommentsNEQ(v string) predicate.IdentityLink
CommentsNEQ applies the NEQ predicate on the "comments" field.
func CommentsNotIn ¶
func CommentsNotIn(vs ...string) predicate.IdentityLink
CommentsNotIn applies the NotIn predicate on the "comments" field.
func CommentsNotNil ¶
func CommentsNotNil() predicate.IdentityLink
CommentsNotNil applies the NotNil predicate on the "comments" field.
func GroupID ¶
func GroupID(v int) predicate.IdentityLink
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDEQ ¶
func GroupIDEQ(v int) predicate.IdentityLink
GroupIDEQ applies the EQ predicate on the "group_id" field.
func GroupIDGT ¶
func GroupIDGT(v int) predicate.IdentityLink
GroupIDGT applies the GT predicate on the "group_id" field.
func GroupIDGTE ¶
func GroupIDGTE(v int) predicate.IdentityLink
GroupIDGTE applies the GTE predicate on the "group_id" field.
func GroupIDIn ¶
func GroupIDIn(vs ...int) predicate.IdentityLink
GroupIDIn applies the In predicate on the "group_id" field.
func GroupIDIsNil ¶
func GroupIDIsNil() predicate.IdentityLink
GroupIDIsNil applies the IsNil predicate on the "group_id" field.
func GroupIDLT ¶
func GroupIDLT(v int) predicate.IdentityLink
GroupIDLT applies the LT predicate on the "group_id" field.
func GroupIDLTE ¶
func GroupIDLTE(v int) predicate.IdentityLink
GroupIDLTE applies the LTE predicate on the "group_id" field.
func GroupIDNEQ ¶
func GroupIDNEQ(v int) predicate.IdentityLink
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
func GroupIDNotIn(vs ...int) predicate.IdentityLink
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func GroupIDNotNil ¶
func GroupIDNotNil() predicate.IdentityLink
GroupIDNotNil applies the NotNil predicate on the "group_id" field.
func HasTask ¶
func HasTask() predicate.IdentityLink
HasTask applies the HasEdge predicate on the "task" edge.
func HasTaskWith ¶
func HasTaskWith(preds ...predicate.Task) predicate.IdentityLink
HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.IdentityLink
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.IdentityLink
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.IdentityLink
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.IdentityLink
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.IdentityLink
IDNotIn applies the NotIn predicate on the ID field.
func LinkTypeEQ ¶
func LinkTypeEQ(v LinkType) predicate.IdentityLink
LinkTypeEQ applies the EQ predicate on the "link_type" field.
func LinkTypeIn ¶
func LinkTypeIn(vs ...LinkType) predicate.IdentityLink
LinkTypeIn applies the In predicate on the "link_type" field.
func LinkTypeNEQ ¶
func LinkTypeNEQ(v LinkType) predicate.IdentityLink
LinkTypeNEQ applies the NEQ predicate on the "link_type" field.
func LinkTypeNotIn ¶
func LinkTypeNotIn(vs ...LinkType) predicate.IdentityLink
LinkTypeNotIn applies the NotIn predicate on the "link_type" field.
func LinkTypeValidator ¶
LinkTypeValidator is a validator for the "link_type" field enum values. It is called by the builders before save.
func Not ¶
func Not(p predicate.IdentityLink) predicate.IdentityLink
Not applies the not operator on the given predicate.
func OperationTypeEQ ¶
func OperationTypeEQ(v OperationType) predicate.IdentityLink
OperationTypeEQ applies the EQ predicate on the "operation_type" field.
func OperationTypeIn ¶
func OperationTypeIn(vs ...OperationType) predicate.IdentityLink
OperationTypeIn applies the In predicate on the "operation_type" field.
func OperationTypeNEQ ¶
func OperationTypeNEQ(v OperationType) predicate.IdentityLink
OperationTypeNEQ applies the NEQ predicate on the "operation_type" field.
func OperationTypeNotIn ¶
func OperationTypeNotIn(vs ...OperationType) predicate.IdentityLink
OperationTypeNotIn applies the NotIn predicate on the "operation_type" field.
func OperationTypeValidator ¶
func OperationTypeValidator(ot OperationType) error
OperationTypeValidator is a validator for the "operation_type" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.IdentityLink) predicate.IdentityLink
Or groups predicates with the OR operator between them.
func ProcDefID ¶
func ProcDefID(v int) predicate.IdentityLink
ProcDefID applies equality check predicate on the "proc_def_id" field. It's identical to ProcDefIDEQ.
func ProcDefIDEQ ¶
func ProcDefIDEQ(v int) predicate.IdentityLink
ProcDefIDEQ applies the EQ predicate on the "proc_def_id" field.
func ProcDefIDGT ¶
func ProcDefIDGT(v int) predicate.IdentityLink
ProcDefIDGT applies the GT predicate on the "proc_def_id" field.
func ProcDefIDGTE ¶
func ProcDefIDGTE(v int) predicate.IdentityLink
ProcDefIDGTE applies the GTE predicate on the "proc_def_id" field.
func ProcDefIDIn ¶
func ProcDefIDIn(vs ...int) predicate.IdentityLink
ProcDefIDIn applies the In predicate on the "proc_def_id" field.
func ProcDefIDLT ¶
func ProcDefIDLT(v int) predicate.IdentityLink
ProcDefIDLT applies the LT predicate on the "proc_def_id" field.
func ProcDefIDLTE ¶
func ProcDefIDLTE(v int) predicate.IdentityLink
ProcDefIDLTE applies the LTE predicate on the "proc_def_id" field.
func ProcDefIDNEQ ¶
func ProcDefIDNEQ(v int) predicate.IdentityLink
ProcDefIDNEQ applies the NEQ predicate on the "proc_def_id" field.
func ProcDefIDNotIn ¶
func ProcDefIDNotIn(vs ...int) predicate.IdentityLink
ProcDefIDNotIn applies the NotIn predicate on the "proc_def_id" field.
func TaskID ¶
func TaskID(v int) predicate.IdentityLink
TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.
func TaskIDEQ ¶
func TaskIDEQ(v int) predicate.IdentityLink
TaskIDEQ applies the EQ predicate on the "task_id" field.
func TaskIDIn ¶
func TaskIDIn(vs ...int) predicate.IdentityLink
TaskIDIn applies the In predicate on the "task_id" field.
func TaskIDNEQ ¶
func TaskIDNEQ(v int) predicate.IdentityLink
TaskIDNEQ applies the NEQ predicate on the "task_id" field.
func TaskIDNotIn ¶
func TaskIDNotIn(vs ...int) predicate.IdentityLink
TaskIDNotIn applies the NotIn predicate on the "task_id" field.
func TenantID ¶
func TenantID(v int) predicate.IdentityLink
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
func TenantIDEQ(v int) predicate.IdentityLink
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v int) predicate.IdentityLink
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v int) predicate.IdentityLink
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...int) predicate.IdentityLink
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v int) predicate.IdentityLink
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v int) predicate.IdentityLink
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v int) predicate.IdentityLink
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...int) predicate.IdentityLink
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UserID ¶
func UserID(v int) predicate.IdentityLink
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.IdentityLink
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int) predicate.IdentityLink
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int) predicate.IdentityLink
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.IdentityLink
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.IdentityLink
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int) predicate.IdentityLink
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int) predicate.IdentityLink
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.IdentityLink
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.IdentityLink
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.IdentityLink
UserIDNotNil applies the NotNil predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type LinkType ¶
type LinkType string
LinkType defines the type for the "link_type" enum field.
const ( LinkTypeAssignee LinkType = "assignee" LinkTypeCandidate LinkType = "candidate" LinkTypeParticipant LinkType = "participant" LinkTypeManager LinkType = "manager" LinkTypeNotifier LinkType = "notifier" )
LinkType values.
func (LinkType) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*LinkType) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type OperationType ¶
type OperationType string
OperationType defines the type for the "operation_type" enum field.
const ( OperationTypeInit OperationType = "init" OperationTypeClaim OperationType = "claim" OperationTypeDelete OperationType = "delete" OperationTypePass OperationType = "pass" OperationTypeReject OperationType = "reject" )
OperationType values.
func (OperationType) MarshalGQL ¶
func (e OperationType) MarshalGQL(w io.Writer)
MarshalGQL implements graphql.Marshaler interface.
func (OperationType) String ¶
func (ot OperationType) String() string
func (*OperationType) UnmarshalGQL ¶
func (e *OperationType) UnmarshalGQL(val interface{}) error
UnmarshalGQL implements graphql.Unmarshaler interface.
type OrderOption ¶
OrderOption defines the ordering options for the IdentityLink queries.
func ByAssignerID ¶
func ByAssignerID(opts ...sql.OrderTermOption) OrderOption
ByAssignerID orders the results by the assigner_id field.
func ByComments ¶
func ByComments(opts ...sql.OrderTermOption) OrderOption
ByComments orders the results by the comments field.
func ByGroupID ¶
func ByGroupID(opts ...sql.OrderTermOption) OrderOption
ByGroupID orders the results by the group_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLinkType ¶
func ByLinkType(opts ...sql.OrderTermOption) OrderOption
ByLinkType orders the results by the link_type field.
func ByOperationType ¶
func ByOperationType(opts ...sql.OrderTermOption) OrderOption
ByOperationType orders the results by the operation_type field.
func ByProcDefID ¶
func ByProcDefID(opts ...sql.OrderTermOption) OrderOption
ByProcDefID orders the results by the proc_def_id field.
func ByTaskField ¶
func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
ByTaskField orders the results by task field.
func ByTaskID ¶
func ByTaskID(opts ...sql.OrderTermOption) OrderOption
ByTaskID orders the results by the task_id field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.