Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoPaginator ¶
type MongoPaginator struct {
// contains filtered or unexported fields
}
func NewMongoPaginator ¶
func NewMongoPaginator(store paginator.Store, opts *paginator.PaginationOptions) *MongoPaginator
func (*MongoPaginator) MakeSortOptions ¶
MakeSortOptions 生成ID分页查询选项,并将filter在原地更新
func (*MongoPaginator) StoreSorter ¶
func (p *MongoPaginator) StoreSorter(ctx context.Context, first, last any) error
Click to show internal directories.
Click to hide internal directories.