mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 08:17:46 +00:00
18 lines
370 B
Go
18 lines
370 B
Go
![]() |
package domain
|
||
|
|
||
|
import "github.com/zitadel/zitadel/backend/v3/storage/database"
|
||
|
|
||
|
type Pagination struct {
|
||
|
Limit uint32
|
||
|
Offset uint32
|
||
|
Ascending bool
|
||
|
OrderColumns database.Columns
|
||
|
}
|
||
|
|
||
|
// applyOnOrgsQuery implements OrgsQueryOpts.
|
||
|
func (p Pagination) applyOnOrgsQuery(query *OrgsQuery) {
|
||
|
query.pagination = p
|
||
|
}
|
||
|
|
||
|
var _ OrgsQueryOpts = (*Pagination)(nil)
|