[erlang-questions] Convert a Mnesia "set" table to an "ordered_set"
Dan Gudmundsson
dgud@REDACTED
Mon Oct 6 18:01:03 CEST 2008
It's not possible to change the type on mnesia tables.
/Dan
Greg Burri wrote:
> Hi,
> I already ask this question but it was hided into a mail about something
> else.
>
> Is there a way to convert a mnesia table which has the type "set" to a
> "ordered_set" one ?
> For the moment I use "mnesia:backup/1" then I recreate my table with the
> "ordered_set" type and I call "mnesia:restore/2" to retrieve my data.
> It's a bit ugly... it isn't ?
>
>
> /Greg Burri
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list