Documentation ¶
Index ¶
- func NewKeysetAdapter[T any](db *gorm.DB) relay.ApplyCursorsFunc[T]
- func NewKeysetFinder[T any](db *gorm.DB) cursor.KeysetFinder[T]
- func NewOffsetAdapter[T any](db *gorm.DB) relay.ApplyCursorsFunc[T]
- func NewOffsetFinder[T any](db *gorm.DB) cursor.OffsetFinder[T]
- type KeysetCounter
- type OffsetCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKeysetAdapter ¶
func NewKeysetAdapter[T any](db *gorm.DB) relay.ApplyCursorsFunc[T]
func NewKeysetFinder ¶
func NewKeysetFinder[T any](db *gorm.DB) cursor.KeysetFinder[T]
func NewOffsetAdapter ¶
func NewOffsetAdapter[T any](db *gorm.DB) relay.ApplyCursorsFunc[T]
func NewOffsetFinder ¶
func NewOffsetFinder[T any](db *gorm.DB) cursor.OffsetFinder[T]
Types ¶
type KeysetCounter ¶
type KeysetCounter[T any] struct { // contains filtered or unexported fields }
func NewKeysetCounter ¶
func NewKeysetCounter[T any](db *gorm.DB) *KeysetCounter[T]
type OffsetCounter ¶
type OffsetCounter[T any] struct { // contains filtered or unexported fields }
func NewOffsetCounter ¶
func NewOffsetCounter[T any](db *gorm.DB) *OffsetCounter[T]
Click to show internal directories.
Click to hide internal directories.