I have this data stored in ets: :ets.tab2list(:my_tab)
[
{{1, "W", 1}, %{aid: 1, dt_close: nil, dt_open: nil, sid: 1, src: "W", uid: 1}},
{{2, "T", 1}, %{aid: 1, dt_close: nil, dt_open: nil, sid: 2, src: "T", uid: 2}},
{{1, "S", 1}, %{aid: 1, dt_close: nil, dt_open: nil, sid: 7, src: "S", uid: 1}},
{{1, "T", 1}, %{aid: 1, dt_close: nil, dt_open: nil, sid: 5, src: "T", uid: 1}}
]
when I apply this
:ets.match_delete(:my_tab, {:_, %{aid: 1, dt_open: nil}, :"$1"})
I get back true
, but there is no change to the ets table
Please what have I missed ?