Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Mar 16, 2023 03:09 AM - edited ‎Mar 16, 2023 03:12 AM
is there a way to update multiple records including upsert on linked records?
// fld4nItZFaesqE3hi: 'Pet-Dose' is a linked record
chunk=[ { id: 'recDZL0CMwcu8nh0w', fields: { fld4nItZFaesqE3hi: 'Pet-Dose', fld6kqVwPYlYRsI73: 0.715 } }, { id: 'recoAcgIEbo0vXqRv', fields: { fld4nItZFaesqE3hi: 'Pet-Dose', fld6kqVwPYlYRsI73: 1 } }];
//update records chunks.forEach(function (chunk) { airtable.base(baseID)('Artikel').update(chunk, {typecast:true}, function (err, records) { if (err) { console.error(err); return; } }); });
Reply
0 Replies 0
