forked from sirupsen/airrecord
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include
offset
in return value of #records
Currently, there are 2 modes for retrieving records; pagination on or off. If pagination is on (`paginate: true`), we keep making fetch requests until the response does not include an `offset` for the next page. If pagination is off (`paginate: false`), we simply fetch the first page and stop there. In order to allow users to control pagination themselves (rather than simply on or off, as above) we need to provide access to the `offset` value returned by Airtable.
- Loading branch information
1 parent
3c5cab4
commit 921ed95
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters