php-sql-query-builder icon indicating copy to clipboard operation
php-sql-query-builder copied to clipboard

hardening columnAlias remove

Open roelfsche opened this issue 5 years ago • 0 comments

So far the column alias will be removed, if a * is found in column name. This prevents for selecting the following:

$objQuery->setFunctionAsColum('SUM', ['Column1*Column2'], 'my_alias');

Now this can be done. Thank you.

roelfsche avatar Dec 10 '20 20:12 roelfsche