Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
eaed6eeb
Commit
eaed6eeb
authored
7 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Explicitly disable reduce function for CouchDbCrudRepository.findAll
parent
c8027d05
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/persistance/couchdb/CouchDbCrudRepository.java
+2
-2
2 additions, 2 deletions
...hm/arsnova/persistance/couchdb/CouchDbCrudRepository.java
with
2 additions
and
2 deletions
src/main/java/de/thm/arsnova/persistance/couchdb/CouchDbCrudRepository.java
+
2
−
2
View file @
eaed6eeb
...
@@ -72,7 +72,7 @@ abstract class CouchDbCrudRepository<T extends Entity> extends CouchDbRepository
...
@@ -72,7 +72,7 @@ abstract class CouchDbCrudRepository<T extends Entity> extends CouchDbRepository
@Override
@Override
public
Iterable
<
T
>
findAll
()
{
public
Iterable
<
T
>
findAll
()
{
return
db
.
queryView
(
createQuery
(
countableAllViewName
).
includeDocs
(
true
),
type
);
return
db
.
queryView
(
createQuery
(
countableAllViewName
).
includeDocs
(
true
)
.
reduce
(
false
)
,
type
);
}
}
@Override
@Override
...
@@ -83,7 +83,7 @@ abstract class CouchDbCrudRepository<T extends Entity> extends CouchDbRepository
...
@@ -83,7 +83,7 @@ abstract class CouchDbCrudRepository<T extends Entity> extends CouchDbRepository
return
db
.
queryView
(
createQuery
(
countableAllViewName
)
return
db
.
queryView
(
createQuery
(
countableAllViewName
)
.
keys
((
Collection
<
String
>)
strings
)
.
keys
((
Collection
<
String
>)
strings
)
.
includeDocs
(
true
),
.
includeDocs
(
true
)
.
reduce
(
false
)
,
type
);
type
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment