Forage.ForagePlan (forage v0.8.0)
A forage plan, which can be used to run paginated queries on your repo.
It contains 3 parts:
:filter
- a list of filters for the plan. They will be converted into Ectowhere
clauses:sort
- a list of fields to use when sorting They will be converted into Ectooerder_by
clauses.:pagination
- data related to pagination of entries. Forage uses Paginator under the hood to implement cursor-based pagination, which is more efficient than the naïve offset-based pagination for medium/large datasets.