in sobject/collections/update.go [21:38]
func (u *update) callout(allOrNone bool, records []sobject.Updater) ([]UpdateValue, error) {
payload, err := u.payload(allOrNone, records)
if err != nil {
return nil, err
}
c := &collection{
method: http.MethodPatch,
body: payload,
endpoint: endpoint,
contentType: jsonContentType,
}
var values []UpdateValue
err = c.send(u.session, &values)
if err != nil {
return nil, err
}
return values, nil
}