这是我的客户端代码:
model.remove('agent',{'text':'online'});我无法从模型中删除集合,它在控制台中显示了以下错误
Error: remove must be performed under a collection and document id. Invalid path: agent发布于 2014-03-19 10:48:39
从文档来看,“path”应该是collectionname.id。在这种情况下,我想应该是“agent.id. it”。
这个博客提到路径应该是collection.documentId.document格式的。
http://blog.derbyjs.com/2012/04/13/derby-v0-dot-3-0/
https://stackoverflow.com/questions/22299385
复制相似问题