}),
],
selecting => [
- $self->_parse_order_by ($attrs->{order_by}, $sql_maker),
+ $self->_extract_order_columns ($attrs->{order_by}, $sql_maker),
$sql_maker->_recurse_fields ($select),
],
};
# the top of the stack, and if not - make sure the chain is inner-joined down
# to the root.
#
-sub _straight_join_to_node {
+sub _inner_join_to_node {
my ($self, $from, $alias) = @_;
# subqueries and other oddness are naturally not supported
return $cond;
}
-sub _parse_order_by {
+sub _extract_order_columns {
my ($self, $order_by, $sql_maker) = @_;
my $parser = sub {