... | ... |
@@ -95,7 +95,7 @@ sub _parse { |
95 | 95 |
my $column; |
96 | 96 |
my $sql = " " . $clause || ''; |
97 | 97 |
if ($self->{_tag_parse} && ($sql =~ /\s\{/)) { |
98 |
- my $columns = $self->dbi->query_builder->build_query($clause)->{columns}; |
|
98 |
+ my $columns = $self->dbi->query_builder->build_query($sql)->{columns}; |
|
99 | 99 |
$column = $columns->[0]; |
100 | 100 |
} |
101 | 101 |
else { |