XEts.put
You're seeing just the function
put
, go back to XEts module for more information.
Link to this function
put(tab, item)
Specs
Put an item or items into the table.
Examples
iex> XEts.new(:table) |> XEts.put(x: 1, y: 2) |> XEts.to_list()
[y: 2, x: 1]
Link to this function
put(tab, key, value)
Specs
Put an item into the table.
Examples
iex> XEts.new(:table) |> XEts.put(:x, 1) |> XEts.to_list()
[x: 1]