I’d like to remove a collection of rows from a table conditionally based on the row’s source data. My current approach is iterating the sourceData and calling hot.alter('remove_row'
, but I have to keep track of the removed indices in this case since the action mutates the sourceData array. I saw that there’s a hot.alter('remove_row', [[1,1], [2,1]...])
syntax, but it doesn’t seem to work for me.
I just want to do something like DELETE FROM table WHERE row.foo == 'bar'