nice!

thanks

2009/3/11 Gavin Kistner <[email protected]>:
>
> On Mar 11, 2009, at 8:31 AM, Mathijs wrote:
>> I'm trying Sequel and so far, I'm really impressed.
>> One thing that feels odd to me is that associations give back arrays
>> instead of datasets.
>> Please see http://gist.github.com/77488
>>
>> I would rather have associations return datasets by default, so I
>> stack more filters/joins on top of them.
>> Is this possible somehow?
>
> Author.books #=> returns an array
> Author.books_dataset #=> returns a dataset
>
> I was surprised by this myself, and am a little surprised by which
> happens to be the default. But the functionality is there and usable
> when needed (which, admittedly, is less then half the time, so the
> default probably makes sense).
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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