XEts.insert_new

You're seeing just the function insert_new, go back to XEts module for more information.
Link to this function

insert_new(tab, item)

Specs

insert_new(t(), any()) :: t()
insert_new(tab(), any()) :: boolean()

Insert a new item into the table.

Examples

iex> tab = XEts.new(:table) |> XEts.insert(x: 1, y: 2)
iex> XEts.insert_new(tab, {:x, 3}) |> XEts.to_list()
[{:y, 2}, {:x, 1}]
Link to this function

insert_new(tab, item, meta)

Specs

insert_new(t(), any(), meta()) :: t()
insert_new(tab(), any(), meta()) :: boolean()

Insert a new item into the table given metadata.

Examples

iex> tab = XEts.new(:table) |> XEts.insert(x: 1, y: 2)
iex> XEts.insert_new(tab, {:x, 3}, XEts.get_meta(tab)) |> XEts.to_list()
[{:y, 2}, {:x, 1}]