How to update data in ets bag?

ets: insert can be used to update data in the ets set, but what about a bag? Do I need to update the match_delete or select_delete file first and then paste it?

+4
source share
1 answer

The concept of the bag does not make sense if updates are required. Given that it ets:update_element/3clearly does not support packages, it seems obvious that deleting and then writing is your only option.

+4
source

Source: https://habr.com/ru/post/1523768/


All Articles