Skip to content

Commit

Permalink
Merge pull request #32 from rchodava/rc/empty-update-should-return-0-…
Browse files Browse the repository at this point in the history
…count

Empty update query should return a 0 count instead of an empty Observable
  • Loading branch information
rchodava committed May 6, 2016
2 parents 0c50f88 + 7ed67b1 commit 1915f73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ public UpdateBuilder update(Outline<?> outline) {
private static class EmptyUpdateSuffixBuilder implements InsertSuffixBuilder {
@Override
public Observable<Integer> count() {
return Observable.empty();
return Observable.just(0);
}

@Override
Expand Down

0 comments on commit 1915f73

Please sign in to comment.