3 ms·
> Sure, you should ideally do this in your application code. But if there is multiple interfaces (such as a REST api etc) to your database then you have to reme
by mbell 13y ago
> Sure, you should ideally do this in your application code. But if there is multiple interfaces (such as a REST api etc) to your database then you have to remember to put them in place everywhere.
Whenever I've done this I've just separated out the model/db access layer into a module that is shared between projects that need it and built the validation into that layer. DRY.
- deleted 13y ago[deleted]
- kasey_junk 13y agoAcross languages? Across speed requirements? Across locations?