Documentation
¶
Index ¶
- type DecisionDefFunc
- type DecisionReqDefFunc
- type DeploymentFunc
- type Func
- type IdentityLinkFunc
- type OrgAppFunc
- type OrgRoleFunc
- type OrgRoleUserFunc
- type OrgUserFunc
- type ProcDefFunc
- type ProcInstFunc
- type Query
- type TaskFunc
- type TraverseDecisionDef
- type TraverseDecisionReqDef
- type TraverseDeployment
- type TraverseFunc
- type TraverseIdentityLink
- type TraverseOrgApp
- type TraverseOrgRole
- type TraverseOrgRoleUser
- type TraverseOrgUser
- type TraverseProcDef
- type TraverseProcInst
- type TraverseTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecisionDefFunc ¶
The DecisionDefFunc type is an adapter to allow the use of ordinary function as a Querier.
type DecisionReqDefFunc ¶
The DecisionReqDefFunc type is an adapter to allow the use of ordinary function as a Querier.
type DeploymentFunc ¶
The DeploymentFunc type is an adapter to allow the use of ordinary function as a Querier.
type Func ¶
The Func type is an adapter that allows ordinary functions to be used as interceptors. Unlike traversal functions, interceptors are skipped during graph traversals. Note that the implementation of Func is different from the one defined in entgo.io/ent.InterceptFunc.
type IdentityLinkFunc ¶
The IdentityLinkFunc type is an adapter to allow the use of ordinary function as a Querier.
type OrgAppFunc ¶
The OrgAppFunc type is an adapter to allow the use of ordinary function as a Querier.
type OrgRoleFunc ¶
The OrgRoleFunc type is an adapter to allow the use of ordinary function as a Querier.
type OrgRoleUserFunc ¶
The OrgRoleUserFunc type is an adapter to allow the use of ordinary function as a Querier.
type OrgUserFunc ¶
The OrgUserFunc type is an adapter to allow the use of ordinary function as a Querier.
type ProcDefFunc ¶
The ProcDefFunc type is an adapter to allow the use of ordinary function as a Querier.
type ProcInstFunc ¶
The ProcInstFunc type is an adapter to allow the use of ordinary function as a Querier.
type Query ¶
type Query interface { // Type returns the string representation of the query type. Type() string // Limit the number of records to be returned by this query. Limit(int) // Offset to start from. Offset(int) // Unique configures the query builder to filter duplicate records. Unique(bool) // Order specifies how the records should be ordered. Order(...func(*sql.Selector)) // WhereP appends storage-level predicates to the query builder. Using this method, users // can use type-assertion to append predicates that do not depend on any generated package. WhereP(...func(*sql.Selector)) }
The Query interface represents an operation that queries a graph. By using this interface, users can write generic code that manipulates query builders of different types.
type TraverseDecisionDef ¶
type TraverseDecisionDef func(context.Context, *ent.DecisionDefQuery) error
The TraverseDecisionDef type is an adapter to allow the use of ordinary function as Traverser.
type TraverseDecisionReqDef ¶
type TraverseDecisionReqDef func(context.Context, *ent.DecisionReqDefQuery) error
The TraverseDecisionReqDef type is an adapter to allow the use of ordinary function as Traverser.
type TraverseDeployment ¶
type TraverseDeployment func(context.Context, *ent.DeploymentQuery) error
The TraverseDeployment type is an adapter to allow the use of ordinary function as Traverser.
type TraverseFunc ¶
The TraverseFunc type is an adapter to allow the use of ordinary function as Traverser. If f is a function with the appropriate signature, TraverseFunc(f) is a Traverser that calls f.
type TraverseIdentityLink ¶
type TraverseIdentityLink func(context.Context, *ent.IdentityLinkQuery) error
The TraverseIdentityLink type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrgApp ¶
type TraverseOrgApp func(context.Context, *ent.OrgAppQuery) error
The TraverseOrgApp type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrgRole ¶
type TraverseOrgRole func(context.Context, *ent.OrgRoleQuery) error
The TraverseOrgRole type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrgRoleUser ¶
type TraverseOrgRoleUser func(context.Context, *ent.OrgRoleUserQuery) error
The TraverseOrgRoleUser type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrgUser ¶
type TraverseOrgUser func(context.Context, *ent.OrgUserQuery) error
The TraverseOrgUser type is an adapter to allow the use of ordinary function as Traverser.
type TraverseProcDef ¶
type TraverseProcDef func(context.Context, *ent.ProcDefQuery) error
The TraverseProcDef type is an adapter to allow the use of ordinary function as Traverser.
type TraverseProcInst ¶
type TraverseProcInst func(context.Context, *ent.ProcInstQuery) error
The TraverseProcInst type is an adapter to allow the use of ordinary function as Traverser.
type TraverseTask ¶
The TraverseTask type is an adapter to allow the use of ordinary function as Traverser.