Ensure all byte slices are converted to strings

This commit is contained in:
Tobie Morgan Hitchcock 2018-08-21 11:39:12 +01:00
parent c91164bc93
commit 44d2fc129f

View file

@ -44,6 +44,8 @@ func (e *executor) fetch(ctx context.Context, val interface{}, doc *data.Doc) (o
return nil, nil
case *sql.Value:
return val.VA, nil
case []byte:
return string(val), nil
case int:
return float64(val), nil
case int8: