Is it possible to remove an object from the mainList array?
_id:ObjectId("5fafc5aec2b84c301845c55a"),
username:"test",
mainList:[
{
_id:ObjectId("5fafdf1a5b49510c789af0ae"),
name:"testname",
lastname:"testlastname"
},
{
_id:ObjectId("5fafdf1a5b49510c789af0af"),
name:"testname",
lastname:"testlastname"
}
]