Closed
Description
Hi R2DBC team,
This is a feature request.
Currently with DatabaseClient
we can execute any arbitrary SQL statement which is cool. Can we add an additional overloaded method for bind
?
If I have to pass multiple parameters, instead of passing them one by one using the current bind
method like .bind("firstName", "somename").bind("lastName", "somename")...
can we make the method to accept an object as well as show below? Just an additional method to simply this.
class BindInput {
private String firstName;
private String lastName;
private String email;
...
...
}
.bind(bindInput); // pass a POJO object