We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5cdb09a + e40f3b9 commit f7d490dCopy full SHA for f7d490d
crud/src/main/java/com/redhat/lightblue/crud/SaveRequest.java
@@ -25,7 +25,7 @@
25
/**
26
* Request to save documents
27
*/
28
-public class SaveRequest extends DocRequest implements WithRange {
+public class SaveRequest extends DocRequest implements WithRange, WithProjection {
29
30
private Projection returnFields;
31
private boolean upsert;
@@ -40,6 +40,11 @@ public Projection getReturnFields() {
40
return returnFields;
41
}
42
43
+ @Override
44
+ public Projection getProjection() {
45
+ return returnFields;
46
+ }
47
+
48
49
* Specifies the fields of the inserted entities to return. This can be used
50
* to retrieve the _id fields of the inserted entities.
0 commit comments