从模型RacerJS中删除集合?

这是我的客户端代码:

model.remove('agent',{'text':'online'}); 

我不能从模型中删除集合,它在控制台中显示以下错误

 Error: remove must be performed under a collection and document id. Invalid path: agent 

从文档看来,“path”应该是collectionname.id。 在这种情况下,也许我想应该是'agent.id'。

这个博客引用的path应该是格式为collection.documentId.document。

http://blog.derbyjs.com/2012/04/13/derby-v0-dot-3-0/