spring-framework
spring-framework copied to clipboard
Add batch operations support to `DatabaseClient`
As discussed in #27229, this issue intends to add support to batch operations support to R2DBC DatabaseClient.
The starting point is bind(params -> …) as proposed in this comment of the PR, but we should also support iterating over a collection without requiring a wrapper class or an AtomicReference.
Another concern is that bind(params -> …) looks too implicit in terms of name, could confuse users versus bindValues(List<?> source) which has a totally different meaning.
Depending on how the implementation goes, we may create a follow-up issue for a similar feature in JdbcClient.
Is there currently any work in progress? Or would this issue be something for a first time contribution?