[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Sorting



Excerpts from Michael McDermott's message of Mon Dec 14 18:01:39 +0100 2009:
> After running a search in Sup, is there any way to sort the result set? Or,
> perhaps, specify the ordering in the query? (ala SQL)

Hi McDermott

Sup is lazy.

It only searches as much results as fit on screen unless you use !!
I think threads are sorted by date which makes much sense.

You propose that you want a ORDER BY feature.
>From SQL you should also know that this forces the database to fetch all
rows even if you're interested only in LIMIT 1.

So try !! and wait. If it' fast enough tell so. If it's not think about
another way to solve you real problem. Maybe just put your real problem
here. There may be a different solution.

You want to stort your threads by which field?

Marc Weber
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk