Sql query to update table from a multi-select selection

I'm trying to update a table with an array in the WHERE condition. This is the code I have but it's only updating the first bundle_id and not the others.

update admin.node 
set bundle_id = {{tableBundles.selectedRow.data.id}}
WHERE admin.node.id = {{parseInt(multiselectNodesAvailable.value)}}

Can someone help me find a way of either looping through the array or is there an easier way of making the WHERE 'see' all the values in the array?