Skip to content

Add batch operations support to DatabaseClient #33812

Open
@sdeleuze

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions