onConflictDoUpdate array

Hi, is it possible to upsert/update an array?
await db.insert(organizations).values(organizationsResponse.organizations).onConflictDoUpdate({
    target:[organizations.id],
    set:{
      name:organizationsResponse.organizations.map(org=>org.name)
      
    }
  });

I would want it to do it for all and not one by one
Was this page helpful?