Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的客户端代码:
model.remove('agent',{'text':'online'});
我无法从模型中删除集合,它在控制台中显示以下错误
Error: remove must be performed under a collection and document id. Invalid path: agent
从文档看来,“路径”应该是 collectionname.id。在这种情况下,也许我认为它应该是“agent.id”。
这篇博客提到路径应该是collection.documentId.document的格式。
http://blog.derbyjs.com/2012/04/13/derby-v0-dot-3-0/