im currently working on a project and was wondering if i could get a little bit of advice. I aim to be storing information about a number of URLs, which will each have a number of parameters and will look something like this:
{
Name: "Report1",
Host: "127.0.0.1",
Description: "This is a test report",
Date: "00/00/00",
Time: "00:00:00",
Pages:{
Page: "test_page_url",
Parameters:{
Parameter: "test_param",
Value: "test_parm_value"
}
}
}
I've not been able to find much information/ examples of using a one-to-many, within a one-to-many relationship using MongoEngine and was wondering what the best approach would be? Is it possible to use EmbeddedDocumentListField in this manner or would it be best practice to use ReferenceField. Any advice would be greatly appreciated as im still quite new to the NoSQL approach