I have a document with this structure
{
name : "...",
...,
...,
...,
hours : {
standard : {
...
}
}
I need to add:
{
holiday : {
...
}
}
inside the hours document and end up with:
{
name : "...",
...,
...,
...,
hours : {
standard : {
...
},
holiday : {
...
}
}
}
I tried running
{
$set : {
hours : {
holiday : {
...
}
}
}
}
but that simply replaced my standard with holiday inside of hours. How can I achieve this?
Thanks!