The original question was how to determine if the result had rows. Well it
turns out that golang's sql packa wi; generate the exception"ErrNoRows" if
there are no rows, therefore, it is not necessary to test the rows.Next()
and consume the first row differently than the second and certainly not
counting the rows.


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 
For more options, visit

Reply via email to