4 ms·
2. I understood the `RowSet` as representing a batch, not the whole data set. A. I agree that the column should only be requested once, similar to what you pro
by CodesInChaos 7y ago
2. I understood the `RowSet` as representing a batch, not the whole data set.
A. I agree that the column should only be requested once, similar to what you propose. Though I'd move the lifetime into the `Row` type instead of returning a reference. Unfortunately you don't totally escape the runtime check, since you still need to check if the column and row come from the same RowSet.
- twic 7y ago> I'd move the lifetime into the `Row` type instead of returning a reference I'm afraid i don't understand; which lifetime, and which returned reference? > Unfortunately you don't totally escape the runtime check, since you still need to check if the column and row come from the same RowSet. True, but at that point it's a programmer error, so at least you can panic rather than returning a Result!