exposed field to true or false for every ID in the list. I don't know if this is possible to do in a single query. It may be with a huge CASE expression in the query, but that's besides the point and probably overkill.Enum.split_with/2 to split the list into two lists: one for IDs to expose and one for IDs to hide. Then I can run two bulk updates.