#235 - Polishing.

Added test and tweaked documentation to clarify that other numeric types beyond `Integer` are admissible.
Split a test in order to have meaningful test names.

Original pull request: #238.
This commit is contained in:
Jens Schauder
2019-11-28 14:24:42 +01:00
parent 6d37fde4c7
commit d442fca38d
3 changed files with 23 additions and 4 deletions

View File

@@ -142,9 +142,9 @@ Mono<Integer> setFixedFirstnameFor(String firstname, String lastname);
The result of a modifying query can be:
* `Void` to discard update count and await completion
* `Integer` emitting the affected rows count
* `Boolean` to emit whether at least one row was updated
* `Void` to discard update count and await completion.
* `Integer` or another numeric type emitting the affected rows count.
* `Boolean` to emit whether at least one row was updated.
The `@Modifying` annotation is only relevant in combination with the `@Query` annotation.
Derived custom methods do not require this annotation.