You sort by <field name> DESC, and fetch the first value of a query for
"*"? =)
Ferret doesn''t have these SGDB-like features built into it, as far as
I can remember from the docs.
On Jan 8, 2008 10:36 AM, Benjamin Arai <me at benjaminarai.com>
wrote:> Hello,
>
> I have a field which contains integer values. How do I obtain the
> maximum value of the column?
>
> Benjamin
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk
>