Closed cemremengu closed 5 years ago
driver.Rows.Next: it does not use the value of dest, as it has been always Column number of nils. If it had been the values provided to rows.Scan, the driver could make better decisions about conversions (for example, Number could be converted to int64, float64 of string based on the type of dest[i]).
I haven't seen a value/use case of this for goracle, yet.
I haven't seen a value/use case of this for goracle, yet.
ATM we implement neither, only PrepareContext.
I haven't seen a use case for this yet.
Regarding the SessionResetter, ODPI-C has a 'todo' item to support OCI session tagging. Also see PL/SQL Callback for Session State Fix Up. Our benchmarkers like using this kind of feature to really optimize performance. A related user request is at https://github.com/oracle/node-oracledb/issues/258, so there is user interest in this behavior.
Thanks, I'll take a look!
With the release of Go 1.10, there were some changes/improvements in the driver API as follows. Just leaving this here in case there needs to be work done given these changes.