Greenstand/treetracker-query-api

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

オープン

#28 opened on 2022/01/06

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (65 件のフォーク)auto 404
Node.jsgood first issue

Repository metrics

Stars
 (17 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド