Greenstand/treetracker-query-api

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

Open

#28 opened on Jan 6, 2022

 (2 comments) (0 reactions) (0 assignees)TypeScript (65 forks)auto 404
Node.jsgood first issue

Repository metrics

Stars
 (17 stars)
PR merge metrics
 (PR metrics pending)

Description

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