fix arrayref tables to use correct join generation style
[dbsrgits/SQL-Abstract.git] / lib / SQL / Abstract / Converter.pm
index bc3efed..0439b1c 100644 (file)
@@ -617,7 +617,8 @@ sub _table_to_dq {
     while (my $x = shift @f) {
       $dq = {
         type => DQ_JOIN,
-        join => [ $dq, $self->_table_to_dq($x) ]
+        left => $dq,
+        right => $self->_table_to_dq($x),
       };
     }
     $dq;