Paginator.PageInfo (Bonfire v1.0.0-social-rc.3.26)
View SourceDefines page page_info.
Fields
start_cursor- an opaque cursor representing the first row of the current page, to be used with thebeforequery parameter.end_cursor- an opaque cursor representing the last row of the current page, to be used with theafterquery parameter.limit- the maximum number of edges that can be contained in this page.page_count- the number of edges on the current page.total_count- the total number of edges matching the query.total_count_cap_exceeded- a boolean indicating whether the:total_count_limitwas exceeded.
Summary
Types
@type opaque_cursor() :: String.t()
@type t() :: %Paginator.PageInfo{ cursor_for_record_fun: term(), end_cursor: opaque_cursor() | nil, final_cursor: opaque_cursor() | nil, limit: integer(), page_count: integer() | nil, start_cursor: opaque_cursor() | nil, total_count: integer() | nil, total_count_cap_exceeded: boolean() | nil }