Fulib v0.1.1 Fulib.Paginater.Util View Source

Link to this section Summary

Link to this section Functions

Link to this function

encode_page_cursor(conditions) View Source

根据分页参数,返回相应的值

params

  • offset
  • limit
  • page or page_number
  • page_style :count, :scroll, :limit, :all
Link to this function

get_total_pages(total_entries, opts \\ []) View Source

Link to this function

has_next_lazy?(paginater) View Source

Link to this function

parse_page_cursor(conditions) View Source