Ordered indices in Mnesia

Dave Smith <>
Wed Dec 14 06:41:21 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ah..replying to one's self...always fun. :)

I did see a post about compound indicies by Uffe:

http://forums.trapexit.org:81/phpBB/viewtopic.php? 
t=4816&highlight=ordered+index+mnesia

Uffe, are you still looking for testers? Would those indicies help me  
out?


D.

On Dec 13, 2005, at 10:32 PM, Dave Smith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> This may be a stupid question, but I just can't seem to find the  
> answer. Is it possible to create a ordered index in mnesia? For  
> instance, I want to do the SQL equivalent of:
>
> SELECT TOP 10 value FROM table
>
> ...which would be easy to accomplish if I knew that the "value"  
> index was ordered.
>
> Am I missing something obvious?
>
> Thanks!
>
> D.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Darwin)
>
> iD8DBQFDn65Zs6zMNAt8YgcRAox5AJ9hOCBGmwAphNqKsKCnw6A92U3JrQCeOBZq
> SE/6dH7E97nWU2y/TJJjXV4=
> =1Y5i
> -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDn7CBs6zMNAt8YgcRAumQAJsEc99xgYfHDy4STb5H+KvKLKyIKACfb2ez
LmGWmSvJPyf3ajZYV2mnZUo=
=SzDy
-----END PGP SIGNATURE-----



More information about the erlang-questions mailing list