ora icon indicating copy to clipboard operation
ora copied to clipboard

query options w/ context - feedback requested

Open kardianos opened this issue 8 years ago • 1 comments

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.

kardianos avatar Nov 28 '16 19:11 kardianos

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.

tgulacsi avatar Nov 28 '16 22:11 tgulacsi