1
0
mirror of synced 2025-02-10 17:29:27 +03:00
This commit is contained in:
Matthias Pigulla 2017-06-15 01:03:38 +02:00 committed by GitHub
parent 5a2a771173
commit 8f9f41ea89

View File

@ -935,8 +935,7 @@ the Query class. Here they are:
- ``Query#getResult()``: Retrieves a collection of objects. The - ``Query#getResult()``: Retrieves a collection of objects. The
result is either a plain collection of objects (pure) or an array result is either a plain collection of objects (pure) or an array
where the objects are nested in the result rows ( where the objects are nested in the result rows (mixed).
).
- ``Query#getSingleResult()``: Retrieves a single object. If the - ``Query#getSingleResult()``: Retrieves a single object. If the
result contains more than one object, an ``NonUniqueResultException`` result contains more than one object, an ``NonUniqueResultException``
is thrown. If the result contains no objects, an ``NoResultException`` is thrown. If the result contains no objects, an ``NoResultException``