 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type AppFunc
- type ChannelFunc
- type DemoOrderFunc
- type Func
- type NotifyLogFunc
- type NotifyTaskFunc
- type OrderExtensionFunc
- type OrderFunc
- type Query
- type RefundFunc
- type TraverseApp
- type TraverseChannel
- type TraverseDemoOrder
- type TraverseFunc
- type TraverseNotifyLog
- type TraverseNotifyTask
- type TraverseOrder
- type TraverseOrderExtension
- type TraverseRefund
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelFunc ¶
The ChannelFunc type is an adapter to allow the use of ordinary function as a Querier.
type DemoOrderFunc ¶
The DemoOrderFunc 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 NotifyLogFunc ¶
The NotifyLogFunc type is an adapter to allow the use of ordinary function as a Querier.
type NotifyTaskFunc ¶
The NotifyTaskFunc type is an adapter to allow the use of ordinary function as a Querier.
type OrderExtensionFunc ¶
The OrderExtensionFunc type is an adapter to allow the use of ordinary function as a Querier.
type OrderFunc ¶
The OrderFunc 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 RefundFunc ¶
The RefundFunc type is an adapter to allow the use of ordinary function as a Querier.
type TraverseApp ¶
The TraverseApp type is an adapter to allow the use of ordinary function as Traverser.
type TraverseChannel ¶
type TraverseChannel func(context.Context, *ent.ChannelQuery) error
The TraverseChannel type is an adapter to allow the use of ordinary function as Traverser.
type TraverseDemoOrder ¶
type TraverseDemoOrder func(context.Context, *ent.DemoOrderQuery) error
The TraverseDemoOrder 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 TraverseNotifyLog ¶
type TraverseNotifyLog func(context.Context, *ent.NotifyLogQuery) error
The TraverseNotifyLog type is an adapter to allow the use of ordinary function as Traverser.
type TraverseNotifyTask ¶
type TraverseNotifyTask func(context.Context, *ent.NotifyTaskQuery) error
The TraverseNotifyTask type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrder ¶
type TraverseOrder func(context.Context, *ent.OrderQuery) error
The TraverseOrder type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrderExtension ¶
type TraverseOrderExtension func(context.Context, *ent.OrderExtensionQuery) error
The TraverseOrderExtension type is an adapter to allow the use of ordinary function as Traverser.
type TraverseRefund ¶
type TraverseRefund func(context.Context, *ent.RefundQuery) error
The TraverseRefund type is an adapter to allow the use of ordinary function as Traverser.