r2dbc / r2dbc-spi

Service Provider Interface for R2DBC Implementations
Apache License 2.0
421 stars 56 forks source link

Clarify when to expect multiple Result vs when to expect multiple Segment #270

Open lukaseder opened 2 years ago

lukaseder commented 2 years ago

Feature Request

Is your feature request related to a problem? Please describe

When executing things that produce multiple result values, it is currently unclear when to expect:

Reverse engineering the drivers (I'm still on 0.9.x, maybe this has changed), I feel we have:

There may be other cases, or inconsistencies. I don't have much confidence in my above judgement.

Describe the solution you'd like

I would like to see, in the Javadoc, some clarification about:

lukaseder commented 2 years ago

Note, we've probably discussed this elsewhere in the past, but I've forgotten. Thus, it would be great if the Javadoc specified this.