[Dbix-class] D::C generates unneccessary duplicate joins..

Michael Leuchtenburg michaell at intex.com
Fri Jul 7 16:22:45 CEST 2006


It shouldn't just be "foo OR bar" because he needs to search for objects 
with *two* metadata rows associated with it: one set to foo, and the 
other to bar. If we have four objects:
Object ID         metadata (in CSV format)
    1                     foo
    2                     bar
    3                     foo,bar
    4                     baz

Your suggestion selects 1,2,3. He wants only 3 to be selected.

-- michael




More information about the Dbix-class mailing list