On Wed, Sep 5, 2012 at 7:13 PM, jon v <
sito...@gmail.com> wrote:
> for example, if i have a class Foo::Question which has a one to many
> relationship with class Foo::Option, my code is correctly returning an array
> with something like @options = $question->options (that is, @options ends up
> with an array of Foo::Option objects, each of which have question_id
> pointing to the id of $question).
>
> however, how is this array ordered? is the ordering determined solely by
> the primary key (id) of Foo::Option? or can i pass an optional field to use
> to order the array, such as if i add a column "delta" to Foo::Option which
> is the relative sort order.