(no title)
bvirb | 2 years ago
My favorite ORM says the same thing: https://sequel.jeremyevans.net/rdoc/files/doc/validations_rd...
I wouldn't be surprised if more people agree with that as well, maybe just using different terms.
bvirb | 2 years ago
My favorite ORM says the same thing: https://sequel.jeremyevans.net/rdoc/files/doc/validations_rd...
I wouldn't be surprised if more people agree with that as well, maybe just using different terms.
dkjaudyeqooe|2 years ago
No, my view is the opposite of that: the database doesn't allow anything invalid to enter the database.
bvirb|2 years ago
Things go wrong when the DB trusts the application layer (rather than doing its own validation) -- e.g. the DB should control what is valid data, not the application layer.