Documentation ¶ Index ¶ type CursorPagination func (pagination *CursorPagination) ToOrder(desc bool, pk, field spansql.Expr) ([2]spansql.Order, error) func (pagination *CursorPagination) ToPagination(desc bool, pk, pkValue, field spansql.Expr, ...) (spansql.BoolExpr, error) type ICursorPagination Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CursorPagination ¶ type CursorPagination struct { } func (*CursorPagination) ToOrder ¶ func (pagination *CursorPagination) ToOrder(desc bool, pk, field spansql.Expr) ([2]spansql.Order, error) func (*CursorPagination) ToPagination ¶ func (pagination *CursorPagination) ToPagination(desc bool, pk, pkValue, field spansql.Expr, fieldValue map[spansql.Expr]spansql.Expr) (spansql.BoolExpr, error) type ICursorPagination ¶ type ICursorPagination interface { ToOrder(desc bool, pk, field spansql.Expr) ([2]spansql.Order, error) ToPagination(desc bool, pk, pkValue, field spansql.Expr, fieldValue map[spansql.Expr]spansql.Expr) (spansql.BoolExpr, error) } Source Files ¶ View all Source files cursor_pagination.go order.go pagination.go Click to show internal directories. Click to hide internal directories.