Doctrine\DBAL\Connection::project
Executes an, optionally parameterized, SQL query and returns the result, applying a given projection/transformation function on each row of the result.
Signature
Parameters
Returns
- mixed
- The projected result of the query.