XEts.first

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

Specs

first(t() | tab()) :: term() | :"$end_of_table"

Equivalent to first(tab, :shards_meta.get(tab)).

Link to this function

first(tab, meta)

Specs

first(t() | tab(), meta()) :: term() | :"$end_of_table"

Equivalent to :ets.first/1.

However, the order in which results are returned might be not the same as the original ETS function, since it is a sharded table.

See also: :ets.first/1.