Skip to main content

let table = base.getTable(“Cuentas Ads”);



let view = table.getView(“check grupal”);



let query = await view.selectRecordsAsync({fields: })



let updates = query.records.map(r => {



return {id: r.id, fields: {“Check Grupal”: false}}



})



while (updates.length > 0) {



await table.updateRecordsAsync(updates.slice(0, 50))



updates = updates.slice(50)



}





Be the first to reply!

Reply