Class:NativeQuery - Superclass: AbstractQuery AbstractQuery
⌊ NativeQuery
public final class NativeQuery
extends AbstractQuery
www.doctrine-project.org
Fields inherited from Doctrine\ORM\AbstractQuery | |
---|---|
HYDRATE_ARRAY, HYDRATE_OBJECT, HYDRATE_SCALAR, HYDRATE_SINGLE_SCALAR, _em, _expireResultCache, _hints, _hydrationMode, _paramTypes, _params, _resultCacheDriver, _resultCacheId, _resultCacheTTL, _resultSetMapping, _useResultCache |
Method Summary | |
---|---|
mixed | getSQL() Gets the SQL query. |
NativeQuery | setSQL(string sql) Sets the SQL of the query. |
Methods inherited from Doctrine\ORM\AbstractQuery | |
---|---|
execute, expireResultCache, free, getArrayResult, getEntityManager, getExpireResultCache, getHint, getHydrationMode, getParameter, getParameters, getResult, getResultCacheDriver, getResultCacheLifetime, getSQL, getScalarResult, getSingleResult, getSingleScalarResult, iterate, setHint, setHydrationMode, setParameter, setParameters, setResultCacheDriver, setResultCacheId, setResultCacheLifetime, setResultSetMapping, useResultCache |
public mixed getSQL()
Gets the SQL query.
public NativeQuery setSQL(string sql)
Sets the SQL of the query.
Represents a native SQL query.