in reply to DBIx Class Concatenating columns
I believe that the "SQL abstraction" provided by DBIx::Class is just SQL::Abstract. If that is true, then you can supply function calls as in the documentation:
\$sql_string
So maybe the following works:
my $rs = $self->db->resultset('MODELCLASS')->search(undef, { select => [ 'col1', 'col2', \"concat( date, ' ', time )", ], as => [ qw/ id title time /], rows => 10 });
|
|---|