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.

Synopsis

class NamedNativeQuery implements Annotation {
}

Hierarchy

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.