forked from stevespringett/Alpine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
getCount
for queries with subqueries
The `getCount` methods were refactored to not modify the original `Query` object in stevespringett#552. Neither JDO nor DataNucleus offer a mechanism to copy a `Query` object 1:1, hence a new object was created instead. This however broke `getCount` for queries that make use of subqueries (and potentially other advanced features). This change reverts it back to temporarily modify the query object again. Signed-off-by: nscuro <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters