【发布时间】:2017-07-06 14:36:21
【问题描述】:
我是 Azure 新手,我正在尝试使用 Azure 函数来触发 HTTP 触发 NodeJS, 我已经在 Azure Cosmos 上有了一个 NoSQL 数据库。 示例:
{
...
"shop":{
"fruits":[
"orange",
"strawberry",
"lemon"
],
"clothes":[
"man",
"woman",
"babies"
]
}
...
}
然后我想在 fruits 数组中添加一个名为 apple 的新水果,或者从 衣服 中移除 babies >。还将 man 更新为 men, 我能怎么做 ? 我找到了 context.bindings。但是我还不知道怎么用 有谁能帮帮我吗?
非常感谢。
【问题讨论】:
标签: javascript node.js azure azure-cosmosdb azure-functions