Evans, Matthew mevans@REDACTED
Mon Jun 15 16:42:36 CEST 2009


I want to use mnesia:select/4 to select a limited range of records.

The Guard looks like:

Guard = [{'>=','$8',NPT}],

I can always place a lower limit on the guard, but not an upper limit. So my thought of using select/4, with a number of results of 1 should work (i.e. it'll return the next highest match).

My worry is how efficient is it if it'll produce lots of continuation data?

The access methods are dirty.



More information about the erlang-questions mailing list