I want to add an ObjectId() to a new subdocument.
{"$push":{
"All These": {
'_id': ObjectId()
}}}
Hey @amboydan , welcome to the community :))
Could you share a bit more info about what you're trying to do?
I want to add an ObjectId() to a new subdocument.
{"$push":{
"All These": {
'_id': ObjectId()
}}}
Hey @amboydan , welcome to the community :))
Could you share a bit more info about what you're trying to do?