ETS retrieve all objects before deleting the table

Frank Muller <[email protected]> Mon, 17 Jan 2022 22:02:30 +0100
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAFA6GnA1si1y_yfyTdmoRBq=dy01a_0-bqrow-pskA=kbE3cmA@mail.gmail.com>
Hey guys,

Is there a way (documented or not) to retrieve all objects from an
ordered_set table?

I’d like to retrieve all objects before deleting the table.
What’s the most efficient way to do it?

My table contains roughly ~1 million objects.
Objects are tuple: {non_neg_integer(), pos_integer()}

Thanks
/Frank