sub join_query_parts {
my ($self, $join, @parts) = @_;
- my @final = map +(ref($_) eq 'HASH' ? [ $self->render_aqt($_) ] : $_),
- @parts;
+ my @final = map +(
+ ref($_) eq 'HASH'
+ ? [ $self->render_aqt($_) ]
+ : ref($_) eq 'ARRAY' ? $_ : [ $_ ]),
+ @parts;
return (
join($join, map $_->[0], @final),
(wantarray ? (map @{$_}[1..$#$_], @final) : ()),