XEts.update_element
You're seeing just the function
update_element
, go back to XEts module for more information.
Link to this function
update_element(tab, key, element_spec)
Specs
Equivalent to update_element(tab, key, element_spec, :shards_meta.get(tab)).
Examples
iex> %{tab: tab} = :test |> XEts.new() |> XEts.insert(x: 2, y: 4)
iex> XEts.update_element(tab, :x, {2, 10})
true
iex> XEts.lookup(tab, :x)
[{:x, 10}]
Link to this function
update_element(tab, key, element_spec, meta)
Specs
Equivalent to :ets.update_element/3
.
See also: :ets.update_element/3.