Re:SQL is 43 years old – Here’s why we still use it today
by pasta on Tuesday May 02, 2017 @01:15PM
(#14248316)
I think he meant putting constraint and index logic in the code.
For example: I've seen people rely on a unique index in the code. But if you set a unique index in the DB you know it will be unique always. Even when the code is replaced some day.
For example: I've seen people rely on a unique index in the code. But if you set a unique index in the DB you know it will be unique always. Even when the code is replaced some day.