Re: [go-nuts] database/sql: NextResultSet API always return false

2019-02-02 Thread sagar puneria
Thank you for investigating. On Friday, February 1, 2019 at 3:01:35 PM UTC+5:30, Inada Naoki wrote: > > Hello, I'm one of maintainer of go-sql-driver/mysql. > > When there is only one result set, you don't need NextResultSet(). > See this example. > > https://play.golang.org/p/rhm4Xp6WejB > >

Re: [go-nuts] database/sql: NextResultSet API always return false

2019-01-31 Thread sagar puneria
Then why this method is not works as expected using github.com/go-sql-driver/mysql for MySQL. Take a look at this: https://play.golang.org/p/tCLKxiXPZ5e On Thursday, January 31, 2019 at 1:37:01 PM UTC+5:30, Lutz Horn wrote: > > Hi, > > > I just want to know in which case NextResultSet > >

Re: [go-nuts] database/sql: NextResultSet API always return false

2019-01-31 Thread sagar puneria
Then why this method is works as expected using github.com/go-sql-driver/mysql for MySQL. Take a look at this: https://play.golang.org/p/tCLKxiXPZ5e On Thursday, January 31, 2019 at 1:37:01 PM UTC+5:30, Lutz Horn wrote: > > Hi, > > > I just want to know in which case NextResultSet > >

[go-nuts] database/sql: NextResultSet API always return false

2019-01-30 Thread sagar puneria
I just want to know in which case NextResultSet return true? I tried all the cases it is always returning false. If so then what is use case of implementing NextResultSet ?