Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 29, 2021 09:25 AM
Hello! I try to get all records but can’t parse them . Could you help me?
var Airtable = require(‘airtable’);
var base = new Airtable({apiKey: 'key******************).base(‘app******************’);
var accumulator = ;
base(‘Table1’).select({
maxRecords: 15,
view: “MainTable”
}).eachPage(function page(records, fetchNextPage) {
records.forEach(function(record) {
accumulator.push(record._rawJason);
});
console.log ( accumulator);
fetchNextPage();
}, function done(err) {
if (err) { console.error(err);
return }
});
0 Replies 0