Mnesia Order By

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Thu Apr 21 13:15:09 CEST 2005


 
The current solution is: sort the list produced by the select() call.
 
Using qlc, you can produce a handle that, when evaluated, returns a sorted result.
See the reference manual on qlc (in stdlib.)
 
/Uffe

-----Original Message-----
From: owner-erlang-questions@REDACTED [mailto:owner-erlang-questions@REDACTED]On Behalf Of Casper
Sent: den 21 april 2005 12:15
To: erlang-questions@REDACTED
Subject: Mnesia Order By



Hi All,

 

How do I do a mnesia:select or relevant data retrieval to read data in ordered manner? (like ORDER BY in SQL)

 

Please advice as soon as possible.

 

Thanks!

- Eranga

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050421/f1aa7bf3/attachment.htm>


More information about the erlang-questions mailing list