Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. pageSortOrder :: Page record typ -> SortOrder

    persistent-pagination Database.Esqueleto.Pagination

    Whether to sort on the pageField in Ascending or Descending order. The choice you make here determines how the pageDesiredRange changes with each page.

  2. pageDesiredRange :: Page record typ -> DesiredRange typ

    persistent-pagination Database.Persist.Pagination

    The desired range in the next page of values. When the pageSortOrder is Ascending, then the rangeMin value will increase with each page until the set of data is complete. Likewise, when the pageSortOrder is Descending, then the rangeMax will decrease until the final page is reached.

  3. pageField :: Page record typ -> EntityField record typ

    persistent-pagination Database.Persist.Pagination

    The field to sort on. This field should have an index on it, and ideally, the field should be monotonic - that is, you can only insert values at either extreme end of the range. A created_at timestamp or autogenerated ID work great for this. Non-monotonic keys can work too, but you may miss records that are inserted during a traversal.

  4. pageFilters :: Page record typ -> [Filter record]

    persistent-pagination Database.Persist.Pagination

    The extra filters that are placed on the query.

  5. pageRange :: Page record typ -> Range typ

    persistent-pagination Database.Persist.Pagination

    The minimum and maximum value of typ in the list.

  6. pageRecordCount :: Page record typ -> Int

    persistent-pagination Database.Persist.Pagination

    The count of records in the collection. If this number is less than the pageSize field, then a call to nextPage will result in Nothing.

  7. pageRecords :: Page record typ -> [Entity record]

    persistent-pagination Database.Persist.Pagination

    The collection of records.

  8. pageSize :: Page record typ -> PageSize

    persistent-pagination Database.Persist.Pagination

    The desired size of the Page for successive results.

  9. pageSortOrder :: Page record typ -> SortOrder

    persistent-pagination Database.Persist.Pagination

    Whether to sort on the pageField in Ascending or Descending order. The choice you make here determines how the pageDesiredRange changes with each page.

  10. pager :: ProcessType r => r

    shell-conduit Data.Conduit.Shell

    No documentation available.

Page 25 of many | Previous | Next