goext/pagination/filter.go
Mike Schwörer 62c9a4e734
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 2m11s
v0.0.301 pagination (page+limit) support in wmo
2023-11-08 18:30:30 +01:00

12 lines
226 B
Go

package pagination
import (
"go.mongodb.org/mongo-driver/mongo"
ct "gogs.mikescher.com/BlackForestBytes/goext/cursortoken"
)
type Filter interface {
FilterQuery() mongo.Pipeline
Pagination() (string, ct.SortDirection)
}