Greenstand/treetracker-query-api

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

Aperta

#28 aperta il 6 gen 2022

 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (65 fork)auto 404
Node.jsgood first issue

Metriche repository

Star
 (17 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor