Good day. Understanding ETS tables in Erlang
I want to check the table in a brute force, and check every record (Unix time). I do not want to use matching (ets: select (food, ets: fun2ms (fun (N = #food {calories = C}) when C <600 -> N end)).)
Instead, I try to check the ets: next function. In this case, this function returns only the key of the record, which is not enough for further verification.
Tell me, or show where you can find information on how to get the full data rows in the table via ets: new / ets: first / ets: last
Maybe I generally initially incorrectly create the ets table: new (auth, [ordered_set]).