qlc cursor offset

Andre Nathan andre@REDACTED
Tue Dec 28 16:35:18 CET 2010


Hello

Is there a way to move the qlc cursor to a given offset without fetching
all the intermediate results? The idea is to implement pagination and
allow a user to jump to a specific page without the need to retrieve all
the data from previous pages.

My mnesia table is something like this:

-record(quota, {
  user,
  domain_id,
  count_cur,
  count_max
}).

and I'd like to fetch the quotas for all users of a given domain_id, a
few each time.

Thanks in advance
Andre



More information about the erlang-questions mailing list