Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Marc Weber <marco-oweber@gmx.de>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Sorting
Date: Mon, 14 Dec 2009 18:13:01 +0100	[thread overview]
Message-ID: <1260810592-sup-4853@nixos> (raw)
In-Reply-To: <1260809732-sup-4895@zion>

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


  reply	other threads:[~2009-12-14 17:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14 17:01 Michael McDermott
2009-12-14 17:13 ` Marc Weber [this message]
2009-12-14 17:17   ` Edward Z. Yang
2009-12-14 20:45   ` Michael McDermott
2009-12-19 19:10     ` William Morgan
2009-12-14 23:12 ` Carl Worth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1260810592-sup-4853@nixos \
    --to=marco-oweber@gmx.de \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox