Skip to content

Commit f7d490d

Browse files
committed
Merge pull request #663 from bserdar/617
Fix #617
2 parents 5cdb09a + e40f3b9 commit f7d490d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

crud/src/main/java/com/redhat/lightblue/crud/SaveRequest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* Request to save documents
2727
*/
28-
public class SaveRequest extends DocRequest implements WithRange {
28+
public class SaveRequest extends DocRequest implements WithRange, WithProjection {
2929

3030
private Projection returnFields;
3131
private boolean upsert;
@@ -40,6 +40,11 @@ public Projection getReturnFields() {
4040
return returnFields;
4141
}
4242

43+
@Override
44+
public Projection getProjection() {
45+
return returnFields;
46+
}
47+
4348
/**
4449
* Specifies the fields of the inserted entities to return. This can be used
4550
* to retrieve the _id fields of the inserted entities.

0 commit comments

Comments
 (0)