|
|
@ -217,18 +217,18 @@ func unmarshalRows(v interface{}, scanner rowsScanner, strict bool) error {
|
|
|
|
|
|
|
|
|
|
|
|
if err := scanner.Scan(values...); err != nil {
|
|
|
|
if err := scanner.Scan(values...); err != nil {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
} else {
|
|
|
|
|
|
|
|
appendFn(value)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appendFn(value)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return ErrUnsupportedValueType
|
|
|
|
return ErrUnsupportedValueType
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return ErrNotSettable
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ErrNotSettable
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return ErrUnsupportedValueType
|
|
|
|
return ErrUnsupportedValueType
|
|
|
|
}
|
|
|
|
}
|
|
|
|