I made a mistake.

Second query don't include placeholder.

sql := "SELECT field1, field2 FROM t_xxx"
rows1, err := ms.DB.Query(sql)

There is no error.
I'm asking why result type was changed/


2016年9月28日水曜日 19時30分23秒 UTC+9 ksug:
>
> Did you check your error after each call to Query()? 
> Without an arg, what do you expect the "?" in "flg=?" to be formatted 
> into? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to