[Dbix-class] delete_related issue when related resultset does a prefetch

Will Crawford billcrawford1970 at gmail.com
Thu Jul 26 09:28:54 GMT 2012


On 26 July 2012 00:16, Greg Hill <gnhill at liquidweb.com> wrote:
...
> It seems to boil down to the DBIx::Class::Resultset:: _rs_update_delete
> method should be ignoring stuff like prefetch and order_by when being called
> by 'delete'.  But maybe there's a scenario where that behavior is desirable?

There are cases (involving replication and LIMIT) where an order by on
a delete might be useful.



More information about the DBIx-Class mailing list