KUDOS
Thanks for a great tool and support. After one week I've managed to create a working piece of software.
BACKGROUND
However, given that I was new to Mongodb, I had made the classic relational model of Master-Detail tables (documents). I have "Projects" with multiple "Areas".
The downside is of course, that I have to do cascading deletes on occasion (which your server code script in this forum helped tremendously) and making the app work offline becomes difficult because I have to manage Master-Detail offline without GUIDs etc.
As such, I am now redesigning the app with "Areas" as an array of objects in the "Projects" table / document.
I was able to modify the update project service to create a new "area".
QUESTION
Do you have any examples on how to query, update and delete an existing area? e.g., a subdocument object in an array inside the master document?
Actually just a recommended strategy would be useful as I think I can work out the details.
Do I need to implement a "row" GUID for each area? Can I refer to them by array position?