我想更新**状态,我试了很多次,但是我不能更新数据。2如果你知道如何更新数据?
{
"_id": "63064232cf92b07e37090e0a",
"sname": "Bombay collection ",
"name": "Hussain Khan",
"costomer": [
{
"cname": "Basan",
"cphone": 9863521480,
"_id": "632eeff2a9b88eb59d0210f0",
"corder": [
{
"clothType": "Shirt",
"date": "2022-10-21",
"status": "false",
"_id": "635283363edde6a0e9e92dc0"
},
]
}
]
}
1条答案
按热度按时间np8igboo1#
您可以使用
$[<identifier>]
。例如:了解它在playground example上的工作原理