Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pageNodeNKids :: PageNode -> IO Intpdf-toolbox-document Pdf.Document.PageNode Total number of child leaf nodes, including deep children
pageNodePageByNum :: PageNode -> Int -> IO Pagepdf-toolbox-document Pdf.Document.PageNode Find page by it's number Note: it is not efficient for PDF files with a lot of pages, because it performs traversal through the page tree each time. Use pageNodeNKids, pageNodeKids and loadPageNode for efficient traversal.
pageNodeParent :: PageNode -> IO (Maybe PageNode)pdf-toolbox-document Pdf.Document.PageNode Parent page node
pageDesiredRange :: Page record typ -> DesiredRange typpersistent-pagination Database.Esqueleto.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.
pageField :: Page record typ -> EntityField record typpersistent-pagination Database.Esqueleto.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.
pageFilters :: Page record typ -> SqlExpr (Entity record) -> SqlExpr (Value Bool)persistent-pagination Database.Esqueleto.Pagination The extra filters that are placed on the query.
pageRange :: Page record typ -> Range typpersistent-pagination Database.Esqueleto.Pagination The minimum and maximum value of typ in the list.
pageRecordCount :: Page record typ -> Intpersistent-pagination Database.Esqueleto.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.
pageRecords :: Page record typ -> [Entity record]persistent-pagination Database.Esqueleto.Pagination The collection of records.
pageSize :: Page record typ -> PageSizepersistent-pagination Database.Esqueleto.Pagination The desired size of the Page for successive results.