4 ms·
> In essence you are moving responsibility for data integrity away from the DB and in to your app, something I think is quite dangerous. This is only necessari
by parenthephobia 10y ago
> In essence you are moving responsibility for data integrity away from the DB and in to your app, something I think is quite dangerous.
This is only necessarily true of specific "instances" of NoSQL. MongoDB has supported server-side schema enforcement since Dec 2015, for example. Most likely other relatively mature NoSQL systems have similar features. There's certainly nothing about NoSQL which makes server-side schemas impossible.
The issue is social, not technical. I believe that people that want to use NoSQL dislike schemas - or believe that their use case is too hard to describe with a schema. Most NoSQL databases won't have schema validation set up even if the feature is available.