node.js - Remove collection from model RacerJS? -
this client side code:
model.remove('agent',{'text':'online'});
i cant able remove collection model,its shows following error in console
error: remove must performed under collection , document id. invalid path: agent
from documentation, looks 'path' should collectionname.id. in case, maybe suppose should 'agent.id'.
this blog refers path should in format collection.documentid.document.
Comments
Post a Comment