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

R2DBC support #41

Open
yacosta738 opened this issue Sep 11, 2024 · 1 comment
Open

R2DBC support #41

yacosta738 opened this issue Sep 11, 2024 · 1 comment

Comments

@yacosta738
Copy link

R2DBC support is increasingly available in Spring projects, especially for reactive, non-blocking database interactions. Are you considering implementing R2DBC in a specific part of your project, or evaluating it for potential future use?

@p3t
Copy link
Owner

p3t commented Sep 16, 2024

I can have a look, I think it should be possible, as there is a DatabaseClient supporting the criteria-API.

Would you expect to get something like:

Flux<DataRecord> getDataRecords(PageRequestDto request) {
     // Convert to page-request and return page-content as Flux
}

or

Mono<CollectionModel<DtoDataRecord>> getDataRecords(PageRequestDto request) {
     // Convert to page-request to HATEOS collection-model and return as Mono
}

I tend to use the Flux-variant...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants