Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add batch operations support to DatabaseClient #33812

Open
sdeleuze opened this issue Oct 29, 2024 · 0 comments
Open

Add batch operations support to DatabaseClient #33812

sdeleuze opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Milestone

Comments

@sdeleuze
Copy link
Contributor

sdeleuze commented Oct 29, 2024

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.

@sdeleuze sdeleuze added in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement labels Oct 29, 2024
@sdeleuze sdeleuze added this to the 6.2.0 milestone Oct 29, 2024
@sdeleuze sdeleuze self-assigned this Oct 29, 2024
@sdeleuze sdeleuze changed the title Add batch operations support to DatabaseClient via bind(params -> …) Add batch operations support to DatabaseClient Oct 30, 2024
@sdeleuze sdeleuze modified the milestones: 6.2.0, 7.0.x Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant