Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection[T any] struct { ItemCount int64 PageSize int64 Page int64 List []T Sort [][]string `json:",omitempty"` Summary T `json:",omitempty"` Where map[string]interface{} `json:",omitempty"` Options *Options `json:",omitempty"` }
func (Collection[T]) Limit ¶
func (c Collection[T]) Limit() int64
func (Collection[T]) Offset ¶
func (c Collection[T]) Offset() int64
func (*Collection[T]) Opt ¶
func (c *Collection[T]) Opt() *Options
Click to show internal directories.
Click to hide internal directories.