mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 15:17:37 +00:00
implementation done
This commit is contained in:
17
backend/v3/domain/query.go
Normal file
17
backend/v3/domain/query.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
Reference in New Issue
Block a user