3 ms·
We usually put most "constraints" in the database. It's often a D.R.Y. violation to echo them in code.
by tabtab 4y ago
We usually put most "constraints" in the database. It's often a D.R.Y. violation to echo them in code.
- anonymousDan 4y agoAh, I think I understand your previous comment a bit better now. Yes it's a fair point about the best place to enforce the invariants.