Hello
The following code works when I pass in the field name as a string to the get function. It doesnt when I use the field id. I want to use field id. The code is taken from the API sample for javascript
await table.select().eachPage(function page(records, fetchNextPage) {
// This function (`page`) will get called for each page of records.
records.forEach(function (record) {
console.log('Retrieved', record.get('my-field-name') );
});
fetchNextPage();
})
How can I do it using field id instead of ‘my-field-name’?