私はイタリアの PouchDb と AngularJS の開発者です。私のjsonドキュメントは次のとおりです。
{
"_id": "6",
"_rev": "3-f7283d7683cd6fb15753f494aad1d49f",
"name": "Ivrea",
"owners": [
{
"owner_id": 1,
"name": "asdas",
"address": "asdas",
"gender": "Uomo",
"type": "Assente",
"notes": [
]
},
{
"owner_id": 2,
"name": "balbaba",
"address": "blabla",
"gender": "Uomo",
"type": "Assente",
"notes": [
]
}
]
}
ng-click
アクションの後、ドキュメントowner_id: 2
内のオブジェクトを削除します_id: 6
。API リファレンスでは、ドキュメントの削除アクションのみが見つかりましたが、ドキュメント内のオブジェクトを削除する方法は見つかりませんでした。
お返事をありがとうございます!!
アレッサンドロ