Open lukaseder opened 2 years ago
When executing things that produce multiple result values, it is currently unclear when to expect:
Result
Statement::execute
Segment
Result::flatMap
Reverse engineering the drivers (I'm still on 0.9.x, maybe this has changed), I feel we have:
Batch
;
Statement
There may be other cases, or inconsistencies. I don't have much confidence in my above judgement.
I would like to see, in the Javadoc, some clarification about:
Note, we've probably discussed this elsewhere in the past, but I've forgotten. Thus, it would be great if the Javadoc specified this.
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:
Result
values from theStatement::execute
publisherSegment
values from the variousResult::flatMap
and other methodsReverse engineering the drivers (I'm still on 0.9.x, maybe this has changed), I feel we have:
Result
valuesBatch
(multiple SQLs, no binds);
separated statement batch in a singleStatement
, e.g. in SQL ServerSegment
valuesStatement
with batched bind valuesThere 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: