Referential integrity #12399
Answered
by
Uzlopak
harisvsulaiman
asked this question in
Q&A
Referential integrity
#12399
-
Is there a way to enforce referential integrity in mongodb? |
Beta Was this translation helpful? Give feedback.
Answered by
Uzlopak
Sep 6, 2022
Replies: 1 comment 4 replies
-
If you need to ensure referential integrity then mongodb or any nosql dbms are not the right choice. You can not enforce it on the server side, like you could do it with SQL and constraints. You have to do everything on client side. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
harisvsulaiman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you need to ensure referential integrity then mongodb or any nosql dbms are not the right choice. You can not enforce it on the server side, like you could do it with SQL and constraints. You have to do everything on client side.