I obviously need to get more sleep! My syntax was incorrect. I should
have been doing this :-

Post.reverse_order(:created).all


On Jan 21, 12:22 pm, celldee <[EMAIL PROTECTED]> wrote:
> Hi, I have sequel_model 0.2 installed with sequel_core 1.0. I'm trying
> to get an ordered dataset by doing something like :-
>
>  Post.all.reverse_order(:created)
>
> Post is my model class. There don't appear to be any model order
> methods that I can invoke like this, however, they do exist for a
> dataset. Is there a way to do what I want using Sequel Models or
> should I be doing things another way?
>
> Regards,
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to