sub _render_keyword {
my ($self, undef, $keyword) = @_;
- return [ $self->format_keyword($keyword) ];
+ return [ $self->_sqlcase(join ' ', split '_', $keyword) ];
}
sub _render_op {
return $self->render_aqt($parts[0]) if @parts == 1;
my $join = ($op eq ','
? ', '
- : $self->format_keyword(" ${op} ")
+ : $self->_sqlcase(' '.(join ' ', split '_', $op).' ')
);
return $self->join_query_parts($join, @parts);
}
#my ($self, $arg) = @_;
if (my $conv = $_[0]->{convert_where}) {
return @{ $_[0]->join_query_parts('',
- $_[0]->format_keyword($conv),
+ $_[0]->_sqlcase($conv),
'(' , $_[1] , ')'
) };
}
return $_[0]->{case} ? $_[1] : uc($_[1]);
}
-sub format_keyword { $_[0]->_sqlcase(join ' ', split '_', $_[1]) }
-
#======================================================================
# DISPATCHING FROM REFKIND
#======================================================================