Hi Tomas,I saw your email over the weekend, but didn't get to it until work today.Could you give me some context for this request / or some example code with perhaps a magic function that does what you want?Alternately, in what situation do you end up with a driver.Rows rather then a sql.Rows? Maybe we can address the issue of using cursors with the sql package.Thanks, -Daniel
--
You received this message because you are subscribed to the Google Groups "golang-sql" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-sql+...@googlegroups.com.
To post to this group, send email to golan...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-sql/9a90bf65-b03f-4942-8fd4-a4ff8d1118c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For examplevar v interface{}sql.Exec(`BEGIN OPEN :1 FOR SELECT 1 FROM DUAL; END;`, sql.Out{Dest: &v})How to return that cursor?What should the user provide instead of interface{}, and what should the driver return?How could it create an sql.Rows ? It can provide a driver.Rows, but I couldn't find a way to turn it into an sql.Rows.
For examplevar v interface{}sql.Exec(`BEGIN OPEN :1 FOR SELECT 1 FROM DUAL; END;`, sql.Out{Dest: &v})How to return that cursor?What should the user provide instead of interface{}, and what should the driver return?How could it create an sql.Rows ? It can provide a driver.Rows, but I couldn't find a way to turn it into an sql.Rows.
Can you try the CL here: https://go-review.googlesource.com/c/go/+/145738 .If you build Go from source, you can pull this CL to try it, look for the DOWNLOAD button above the file list.Alternatively, you could send me some Oracle SQL and maybe some instructions to get oracle xe running on debian based systems or a service I could connect to to try it out.Thanks, -Daniel