use simple return system for delete.using
Matt S Trout [Mon, 23 Sep 2019 02:36:00 +0000 (02:36 +0000)]
lib/SQL/Abstract/ExtraClauses.pm

index e3d1dd6..22817ce 100644 (file)
@@ -62,9 +62,7 @@ sub apply_to {
 
   $sqla->clause_expanders(
     'update.from' => $self->cb('_expand_select_clause_from'),
-    'delete.using' => $self->cb(sub {
-      +(using => $_[0]->_expand_from_list(undef, $_[2]));
-    }),
+    'delete.using' => $self->cb('_expand_from_list'),
     'insert.rowvalues' => $self->cb(sub {
       +(from => $_[0]->expand_expr({ -values => $_[2] }));
     }),