Mnesia Order By

Ulf Wiger (AL/EAB) <>
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:  [mailto:]On Behalf Of Casper
Sent: den 21 april 2005 12:15
To: 
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.html>


More information about the erlang-questions mailing list