MongoDb Asp.Core define and use key (not value) in a relationship
|Added at||2017-01-05 21:01|
In our app, we permit to our users to upload files, which will be placed in a queue for review and approbation.
User's file ID will be stored as a "sub-list" (I don't know the name) in the user specific Mongo Database.
My question is all about defining a file Object ID as a key in my user database and the getting this user's uploaded file ID to retrieve the current file
Mongo JSON database example