Return a fully realized Array instead of a proxy.
Return a fully realized Array instead of a proxy.

Apparently, calling #map on the proxy does a COUNT request, but if the
query is very complex, the COUNT query will fail.  For example:

  SELECT accounts.*, SUM(transfers.amount) AS amount FROM ...

is turned into:

  SELECT COUNT(accounts.*, SUM(transfers.amount) AS amount) AS count_all
  FROM ...

Not ideal, and certainly not what we were looking for.

francois/family_budget,francois/family_budget