4 ms·
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 inde
by pasta 9y ago
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.