Closed GoogleCodeExporter closed 9 years ago
Partial Solution:
In php-sql-creator.php:
1) Added the function:
protected function isOperator($parsed) {
return ($parsed['expr_type'] === 'operator');
}
2) Modified processFunction($parsed) adding:
if($this->isOperator($v)) {
$sql = substr($sql, 0, -1) . " " . $this->processOperator($v);
}
Original comment by davide.i...@gmail.com
on 16 Feb 2013 at 1:23
The problem with the aliases was solved in the issue 77:
http://code.google.com/p/php-sql-parser/issues/detail?id=77
Original comment by davide.i...@gmail.com
on 16 Feb 2013 at 10:33
I think, this issue has been fixed. Check r380.
Original comment by pho...@gmx.de
on 24 Oct 2013 at 9:49
Original issue reported on code.google.com by
davide.i...@gmail.com
on 15 Feb 2013 at 10:41