How to enforce foreign keys in NoSql databases (MongoDB)?

后端 未结 6 661
暗喜
暗喜 2020-11-28 15:31

Let\'s say I have a collection of documents such as:

{ \"_id\" : 0 , \"owner\":0 \"name\":\"Doc1\"},{ \"_id\" : 1 , \"owner\":1, \"name\":\"Doc1\"}, etc
         


        
6条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-28 16:30

    As a NoSQL solution, you can use MariaDB (NewSQL) Its a combination of SQL and NoSQL and implemented by MySQL developers with a great performance.

提交回复
热议问题