Fob (Fob v0.1.0) View Source

A keyset pagination library for Ecto queries

Link to this section Summary

Link to this section Functions

Link to this function

next_page(queryable, page_breaks, page_size)

View Source (since 0.1.0)

Specs

next_page(Ecto.Queryable.t(), [Fob.PageBreak.t()], pos_integer()) ::
  Ecto.Query.t()
Link to this function

page_breaks(queryable, record)

View Source (since 0.1.0)

Specs

page_breaks(Ecto.Queryable.t(), record :: map() | nil) ::
  [Fob.PageBreak.t()] | nil