Chunkr.Page (Chunkr v0.2.0) View Source
A single page of results.
raw_results— rows in the form
cursor_valuesis the list of values to be used for generating a cursor. Note that in cases where coalescing or other manipulation was performed for the sake of pagination, the cursor values will reflect that manipulation, while the record itself will by default not.
has_previous_page— whether or not there is a previous page of results.
has_next_page— whether or not there is a subsequent page of results.
start_cursor— a cursor representing the first record in this page of results.
end_cursor— a cursor representing the last record in this page of results.
opts— opts used.
Link to this section Summary
Link to this section Types
record() :: any()
Link to this section Functions
Returns opaque cursors with their corresponding records.
Extracts just the records out of the raw results.
Fetches the total, non-paginated count of records that match the query.
Counting the total number of records requires an extra database query, so this is not performed by default.