mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
0b28c2e839
It is possible to have multiple occurrences of 'as' in a field name. Use the last occurrence of 'as' when extracting field name. Tested with following examples: "WeldCheck"."weld_id" count(*) as WeldCheck__num_measurements count(case decision when 2 then 1 else null end) as WeldCheck__num_failures avg(cast (WeldMeasurement.surface_indentation as bigint)) as WeldCheck__avg_indentation avg(cast (WeldMeasurement.circle_diameter as bigint)) as WeldCheck__avg_diameter |
||
---|---|---|
.. | ||
Mysql.php | ||
Postgres.php | ||
Sqlite.php | ||
Sqlserver.php |