3 ms·
You are right, password strength is an example for an application layer constraint. However, by constraints I was more talking about things like "these propert
by cygned 9y ago
You are right, password strength is an example for an application layer constraint.
However, by constraints I was more talking about things like "these properties need to be unique", "this column here must reference that column over there", "this column's values must be in this set" and so on.
I know I could enforce these things in the application layer, but I don't think that's feasible.
- hartator 9y agoGot you. Uniq indexes are a thing in MongoDB as well, but I can see that just another schema-like behavior and doesn't fit what I was saying earlier.