linea comentada
This commit is contained in:
parent
dd07901869
commit
7619678a0b
@ -108,10 +108,10 @@ func (g *GormDatabase) SyncRows(persistencia dto.Persistencia, rawData *[]map[st
|
|||||||
config.Log.Errorf("%s ❌ Error en update: %v", logPrefix, res.Error)
|
config.Log.Errorf("%s ❌ Error en update: %v", logPrefix, res.Error)
|
||||||
return res.Error
|
return res.Error
|
||||||
}
|
}
|
||||||
if res.RowsAffected == 0 {
|
/* if res.RowsAffected == 0 {
|
||||||
config.Log.Debugf("%s ⚠️ Ninguna fila afectada con campos: %v valores: %v",
|
config.Log.Debugf("%s ⚠️ Ninguna fila afectada con campos: %v valores: %v",
|
||||||
logPrefix, strings.Join(whereParts, " AND "), printWhereValues(whereValues))
|
logPrefix, strings.Join(whereParts, " AND "), printWhereValues(whereValues))
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Inserts con conflicto por PK (UPSERT)
|
// Inserts con conflicto por PK (UPSERT)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user