page

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageResolver

type PageResolver[T any] struct {
	// contains filtered or unexported fields
}

func NewPageResolver

func NewPageResolver[T any](table table.Info,
	executor model.SQLExecutor, driver string,
) *PageResolver[T]

func (*PageResolver[T]) Count

func (r *PageResolver[T]) Count(ctx context.Context) (uint64, error)

func (*PageResolver[T]) GetPage

func (r *PageResolver[T]) GetPage(ctx context.Context, opts ...model.PageOpt) (model.Page[T], error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL