Doctrine\ORM\Configuration::addNamedNativeQuery
Adds a named native query to the configuration.
Signature
public function addNamedNativeQuery(string
$name,
ResultSetMapping
$sql,
ResultSetMapping
$rsm )
Parameters
$name
— string- The name of the query.
$sql
— string- The native SQL query string.
$rsm
— Doctrine\ORM\Query\ResultSetMapping- The ResultSetMapping used for the results of the SQL query.