【发布时间】:2015-03-20 15:58:53
【问题描述】:
我是流星新手,想从用户界面修改数据库文档,
我知道我们必须使用 update function 但无法使用它,因为我想通过点击命令从 UI 编辑集合,请建议如何去做。
参数
选择器 Mongo 选择器、对象 ID 或字符串
Specifies which documents to modify
修饰符 Mongo修饰符
Specifies how to modify the documents
回调函数
**Optional**. If present, called with an error object as the first argument and, if no error, the number of affected documents as the second.
请建议如何使用修饰符。
【问题讨论】:
标签: meteor