zendframework/zf2 — pull request #6173 by buliq (2014-04-23 12:21:31+00:00)
Title: JOIN empty columns

If I make a join and don't want any columns to be fetched I should be able to pass null or empty string. Now if You do this, query will look like You tried to get an column, without its name.

$select->from("B");
$select->join("A", "A.A_ID = B.B_A_ID", null);

SELECT "B".*, "A". AS "" FROM "B" INNER JOIN "A" ON "A"."A_ID" = "B"."B_A_ID"