class Mirah::Filters::Paging

A set of input parameters designed to let you select how many and which records you want from a pagination cursor. It is based on Graphql's Relay specification. This can be used with {Data::PageInfo}, which will be provided by the results of a server query, to provide stable pagination framework.

Public Class Methods

default() click to toggle source
# File lib/mirah/filters/paging.rb, line 28
def self.default
  new(first: 100)
end