Tamás Gulácsi
Tamás Gulácsi
What is `rowP` ? If you know the column types, then ``` for rows.Next() { var fil, nome string var cod int64 if err = rows.Scan(&fil, &cod, &nome); err !=...
``` rows.Scan(&Tabs2.Filial, &Tabs2.Codpro, &Tabs2.Codtab, &Tabs2.Preco) ``` or use a helper like github.com/jmoiron/sqlx or github.com/kisielk/sqlstruct
AFAIK no. database/sql has very strict rules about the values drivers can return. Please weigh in in https://github.com/golang/go/issues/18415 and https://github.com/golang/go/issues/18417 !
I've investigated this topic thoroughly, and database/sql protects the underlying connection through two levels of unexported indirection - so only unsafe methods could surface the underlying connection. Fields by name:...
No, OUT parameters are restricted just the same. If you want to ease your queries with lots of parameters, you can try https://godoc.org/github.com/tgulacsi/go/orahlp#MapToSlice Asaf Shakarzy ezt írta (időpont: 2017. jan....
Thats just 8 months! So please contact @kardianos and write on those issues, as these are the forums and now is the time to form that future API! Asaf Shakarzy...
@kardianos where shall we discuss how to use those sql.Out NamedArg Values? It's not clear from the docs yet.
The problem is that this profile shows only that the full memory consumed by Go is 6828.88kB = 6MB. So either this run didn't consumed too much memory, or it...
May this be connected to #198 ? Do I read it correctly that you use returned cursors? This may mean that the current master could help - don't know for...
I'm really sorry, but cannot reproduce it. Can you try go run z_issue197.go on the current master (be607e0169d342022be4faa938ed76d87c44430c)? If that does not reproduce the memory problem, then tweak it till...