From: Matt S Trout Date: Mon, 17 Sep 2018 01:31:02 +0000 (+0000) Subject: have func use render_expr X-Git-Tag: v2.000000~3^2~466 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a7dd0323f95dce348903e3d6a5a970a51d57d9d5;p=dbsrgits%2FSQL-Abstract.git have func use render_expr --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index f1089c3..bd4648a 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -1292,7 +1292,7 @@ sub _where_op_FUNC { my @x = @$_; push @arg_sql, shift @x; @x - } map [ $self->_recurse_where($_) ], @args; + } map [ $self->_render_expr($_) ], @args; return ($self->_sqlcase($func).'('.join(', ', @arg_sql).')', @bind); }