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.

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


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -