pagination

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertOffsetLimitAndOrderedColumnToSQL

func ConvertOffsetLimitAndOrderedColumnToSQL(pageSize, offset int, orderedColumn string) (string, error)

ConvertOffsetLimitAndOrderedColumnToSQL missing godoc

func DecodeOffsetCursor

func DecodeOffsetCursor(cursor string) (int, error)

DecodeOffsetCursor missing godoc

func EncodeNextOffsetCursor

func EncodeNextOffsetCursor(offset, pageSize int) string

EncodeNextOffsetCursor missing godoc

Types

type Page

type Page struct {
	StartCursor string
	EndCursor   string
	HasNextPage bool
}

Page missing godoc

Jump to

Keyboard shortcuts

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