Documentation ¶
Index ¶
- type AppActionFunc
- type AppDictFunc
- type AppDictItemFunc
- type AppFunc
- type AppMenuFunc
- type AppPolicyFunc
- type AppResFunc
- type AppRoleFunc
- type AppRolePolicyFunc
- type FileFunc
- type FileSourceFunc
- type Func
- type OauthClientFunc
- type OrgAppFunc
- type OrgFunc
- type OrgPolicyFunc
- type OrgRoleFunc
- type OrgRoleUserFunc
- type OrgUserFunc
- type OrgUserPreferenceFunc
- type PermissionFunc
- type Query
- type TraverseApp
- type TraverseAppAction
- type TraverseAppDict
- type TraverseAppDictItem
- type TraverseAppMenu
- type TraverseAppPolicy
- type TraverseAppRes
- type TraverseAppRole
- type TraverseAppRolePolicy
- type TraverseFile
- type TraverseFileSource
- type TraverseFunc
- type TraverseOauthClient
- type TraverseOrg
- type TraverseOrgApp
- type TraverseOrgPolicy
- type TraverseOrgRole
- type TraverseOrgRoleUser
- type TraverseOrgUser
- type TraverseOrgUserPreference
- type TraversePermission
- type TraverseUser
- type TraverseUserDevice
- type TraverseUserIdentity
- type TraverseUserLoginProfile
- type TraverseUserPassword
- type UserDeviceFunc
- type UserFunc
- type UserIdentityFunc
- type UserLoginProfileFunc
- type UserPasswordFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppActionFunc ¶
The AppActionFunc type is an adapter to allow the use of ordinary function as a Querier.
type AppDictFunc ¶
The AppDictFunc type is an adapter to allow the use of ordinary function as a Querier.
type AppDictItemFunc ¶
The AppDictItemFunc type is an adapter to allow the use of ordinary function as a Querier.
type AppMenuFunc ¶
The AppMenuFunc type is an adapter to allow the use of ordinary function as a Querier.
type AppPolicyFunc ¶
The AppPolicyFunc type is an adapter to allow the use of ordinary function as a Querier.
type AppResFunc ¶
The AppResFunc type is an adapter to allow the use of ordinary function as a Querier.
type AppRoleFunc ¶
The AppRoleFunc type is an adapter to allow the use of ordinary function as a Querier.
type AppRolePolicyFunc ¶
The AppRolePolicyFunc type is an adapter to allow the use of ordinary function as a Querier.
type FileSourceFunc ¶
The FileSourceFunc 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 OauthClientFunc ¶
The OauthClientFunc 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 OrgPolicyFunc ¶
The OrgPolicyFunc 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 OrgUserPreferenceFunc ¶
The OrgUserPreferenceFunc type is an adapter to allow the use of ordinary function as a Querier.
type PermissionFunc ¶
The PermissionFunc 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 TraverseApp ¶
The TraverseApp type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppAction ¶
type TraverseAppAction func(context.Context, *ent.AppActionQuery) error
The TraverseAppAction type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppDict ¶
type TraverseAppDict func(context.Context, *ent.AppDictQuery) error
The TraverseAppDict type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppDictItem ¶
type TraverseAppDictItem func(context.Context, *ent.AppDictItemQuery) error
The TraverseAppDictItem type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppMenu ¶
type TraverseAppMenu func(context.Context, *ent.AppMenuQuery) error
The TraverseAppMenu type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppPolicy ¶
type TraverseAppPolicy func(context.Context, *ent.AppPolicyQuery) error
The TraverseAppPolicy type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppRes ¶
type TraverseAppRes func(context.Context, *ent.AppResQuery) error
The TraverseAppRes type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppRole ¶
type TraverseAppRole func(context.Context, *ent.AppRoleQuery) error
The TraverseAppRole type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAppRolePolicy ¶
type TraverseAppRolePolicy func(context.Context, *ent.AppRolePolicyQuery) error
The TraverseAppRolePolicy type is an adapter to allow the use of ordinary function as Traverser.
type TraverseFile ¶
The TraverseFile type is an adapter to allow the use of ordinary function as Traverser.
type TraverseFileSource ¶
type TraverseFileSource func(context.Context, *ent.FileSourceQuery) error
The TraverseFileSource 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 TraverseOauthClient ¶
type TraverseOauthClient func(context.Context, *ent.OauthClientQuery) error
The TraverseOauthClient type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrg ¶
The TraverseOrg 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 TraverseOrgPolicy ¶
type TraverseOrgPolicy func(context.Context, *ent.OrgPolicyQuery) error
The TraverseOrgPolicy 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 TraverseOrgUserPreference ¶
type TraverseOrgUserPreference func(context.Context, *ent.OrgUserPreferenceQuery) error
The TraverseOrgUserPreference type is an adapter to allow the use of ordinary function as Traverser.
type TraversePermission ¶
type TraversePermission func(context.Context, *ent.PermissionQuery) error
The TraversePermission type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUser ¶
The TraverseUser type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserDevice ¶
type TraverseUserDevice func(context.Context, *ent.UserDeviceQuery) error
The TraverseUserDevice type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserIdentity ¶
type TraverseUserIdentity func(context.Context, *ent.UserIdentityQuery) error
The TraverseUserIdentity type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserLoginProfile ¶
type TraverseUserLoginProfile func(context.Context, *ent.UserLoginProfileQuery) error
The TraverseUserLoginProfile type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserPassword ¶
type TraverseUserPassword func(context.Context, *ent.UserPasswordQuery) error
The TraverseUserPassword type is an adapter to allow the use of ordinary function as Traverser.
type UserDeviceFunc ¶
The UserDeviceFunc type is an adapter to allow the use of ordinary function as a Querier.
type UserIdentityFunc ¶
The UserIdentityFunc type is an adapter to allow the use of ordinary function as a Querier.
type UserLoginProfileFunc ¶
The UserLoginProfileFunc type is an adapter to allow the use of ordinary function as a Querier.
type UserPasswordFunc ¶
The UserPasswordFunc type is an adapter to allow the use of ordinary function as a Querier.