Greenstand/treetracker-query-api

Extend the BaseRepository to support: getByFilter(..., {offset: x})

Offen

#28 geöffnet am 06.01.2022

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (65 Forks)auto 404
Node.jsgood first issue

Repository-Metriken

Stars
 (17 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Currently, BaseRepository support getByFilter(filters, {limit:100}), we need to add: getByFilter(filters, {limit:100, offset:100}), by passing in offset:100 we will select the data and skip 100 records then fetch the data.


Some hints:

  • Please read our readme for more information/guide/tutorial.
  • Here is an engineering book in Greenstand.
  • To know more about our organization, visit our website.
  • If you want to join the slack community (some resources need the community member's permission), please leave your email address.

Contributor Guide