php-sql-query-builder
php-sql-query-builder copied to clipboard
hardening columnAlias remove
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.