For the first time I want to see other database than SQL Server for my development.
MongoDB is a good alternative for my project.
What is difficult to understand is "the design" of MONGODB for me.
User (table)
Id
Name
Address
Friends (table)
IdUser
IdFriends
With this SQL table, I want to allow an user to became a friend of other user like Facebook.
Which is the best design for MongoDB?