func (tr Row) Str(nn int) (str string) {
	switch data := tr[nn].(type) {
	case nil:
	case []byte:
		str = string(data)
	case time.Time:
		str = TimeString(data)
	case time.Duration:
		str = DurationString(data)
	default:
		str = fmt.Sprint(data)
	}
	return
}
Str gets the nn-th value and returns it as string ("" if NULL).
package mysql
import (
	"bytes"
	"fmt"
	"math"
	"os"
	"reflect"
	"strconv"
	"time"
)
type Row []interface{}
func (tr Row) Bin(nn int) (bin []byte) {
	switch data := tr[nn].(type) {
	case nil:
	case []byte:
		bin = data
	default:
		buf := new(bytes.Buffer)
		fmt.Fprint(buf, data)
		bin = buf.Bytes()
	}
	return
}