Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Can't get Jason

192 0
cancel
Showing results for 
Search instead for 
Did you mean: 

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