in reply to Conditional many to many relationships with Class::DBI

It's right there in the docs: has_many with limiting.
  • Comment on Re: Conditional many to many relationships with Class::DBI

Replies are listed 'Best First'.
Re^2: Conditional many to many relationships with Class::DBI
by CountZero (Bishop) on Nov 01, 2004 at 19:09 UTC
    I don't think that will work: it only checks on equality and not on any other conditions.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      Oh, good point. I would probably just use a custom constructor with actual SQL then. Much more efficient than the many-to-many approach shown in the Class::DBI docs.