4 ms·
Looks like you have to be careful of any ON DELETE CASCADE constraints as it could delete more than you bargain for.
by martin-adams 13y ago
Looks like you have to be careful of any ON DELETE CASCADE constraints as it could delete more than you bargain for.
- drawkbox 13y agoI agree. DELETING when you want to do an UPDATE or INSERT just seems wrong on all levels. DELETING is dangerous and I tend to prefer slightly slower performance of UPSERT with UPDATE/INSERT than involving a delete in the operation.