Doctrine\ORM\Mapping\NamedNativeQuery
Is used to specify a native SQL named query.
The NamedNativeQuery annotation can be applied to an entity or mapped superclass.
- Author: Fabio B. Silva <fabio.bat.silva@gmail.com>
Synopsis
class NamedNativeQuery
implements
Annotation
{
- // members
- public string $name;
- public string $query;
- public string $resultClass;
- public string $resultSetMapping;
Hierarchy
Implements
Members
public
- $name
—
string
The name used to refer to the query with the EntityManager methods that create query objects. - $query
—
string
The SQL query string. - $resultClass
—
string
The class of the result. - $resultSetMapping
—
string
The name of a SqlResultSetMapping, as defined in metadata.