ora
ora copied to clipboard
query options w/ context - feedback requested
I'm looking at issue https://github.com/golang/go/issues/13067 .
Now that you can pass a context to the various query methods, what do you think about supporting setting options on queries through context? I'm unsure if that would be a good or bad idea. But either way, feedback appreciated on the issue.
Sure. Just be selective, what's useful and what's just a maintenance hog.
WithPrefetchRowCount(Context, int) Context WithFetchArraySize WithCLOB(Context, ora.GoColumnType) Context
All seems useful, and could help with proper documentation.