On Oct 11, 12:42 pm, cult hero <[email protected]> wrote:
> Okay. I actually feel better hearing that since I don't feel like I'm
> missing something obvious.
>
> Is there a way for me to manually associate two datasets? Getting the
> articles I want is easy. Getting the authors I want is also easy. It's
> basically selecting two groups using the same set of filters. Is there
> a way to associate them manually. "Use X dataset to be the proper
> group associated with Y dataset."
>
> At this point it's purely a matter of convenience. It makes it easier
> to wrap up in a single method that returns a big associated dataset.

It's not hard to use the same filter as another dataset, but it is
slightly ugly:

  dataset.filter(other_dataset.opts[:where])

If none of the identifiers in the filter are qualified, it would
probably work.

In terms of associating two datasets manually, you'll have to be more
specific as to what you have in mind.

Jeremy

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