# join collapse *will not work* on heavy data types.
my $connecting_aliastypes = $self->_resolve_aliastypes_from_select_args(
$from,
- [],
+ undef,
$where,
$inner_attrs
);
),
],
selecting => [
- scalar $sql_maker->_render_sqla(select_select => $select),
+ ($select
+ ? ($sql_maker->_render_sqla(select_select => $select))[0]
+ : ()),
],
ordering => [
map { $_->[0] } $self->_extract_order_criteria ($attrs->{order_by}, $sql_maker),