Pagination search in Erlang Mnesia
问题 For example, given record -record(item, { id, time, status}). I want to search the 1000 to 1100 items, ordered by time and status =:= <<"finished">> Any suggestions? 回答1: It depends on what your queries look like. If you need to order by lots of different columns, then I'd consider using SQL instead of Mnesia. But if you only need the kind of query you described, you should be able to use the ordered_set type of table to handle the ordering and mnesia:select/4 to handle pagination and the