Greenstand/treetracker-query-api

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

Ouverte

#28 ouverte le 6 janv. 2022

 (2 commentaires) (0 réaction) (0 personne assignée)TypeScript (65 forks)auto 404
Node.jsgood first issue

Métriques du dépôt

Stars
 (17 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur