Compound fields in $db->select
Compound fields in $db->select
Hi
Is there a way to get composite fields like "concat('Nom',' ','Prenom')" as :
$db->selectDistinct($tbl, array('ID', concat('Nom',' ','Prenom')))
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I haven't actually tried it, but:
should work.
Allan
hi @allan
Testing.
at lib/Database/Driver/MysqlQuery.php.DataTables\Database\Driver\MysqlQuery->_exec : lineno 108
I get the sql error message
This seem to be because of alias setting
So using
works fine.

Bob