Ouroboros.Page.Metadata (ouroboros v0.1.3)

Defines page metadata.

Fields

  • after - cursor representing the last row of the current page;
  • before - cursor representing the first row of the current page;
  • total - total number of entries;
  • limit - the maximum number of entries that can be contained in this page.

Summary

Types

t()

@type t() :: %Ouroboros.Page.Metadata{
  after: binary(),
  before: binary(),
  limit: non_neg_integer(),
  total: integer() | nil
}