[Dbix-class] Delete with join bug

Juan Camacho jc5826 at gmail.com
Sun Jul 15 14:33:03 GMT 2007


There seems to be a bug with the following:

        $cart->options(
            'option_id.group_id' => $group_id,
            { join => ['option_id'] }
        )->delete;

I instead have to do this:

        $_->delete for $cart->options(
            'option_id.group_id' => $group_id,
            { join => ['option_id'] }
        );

I'm not yet familiar with the internals and I'm new to DBIx::Class, so
it would take me a while to write a patch if indeed it's a bug.
Regardless, let me know how I can help.

Juan



More information about the Dbix-class mailing list