You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgive me if I missed something, but it seems I can't reproduce the find/save and find/del patterns described in the Readme file.
The find method returns a collection object even when specifying an id. Shouldn't the first item be extracted before it can be fed to the del/save method?
db.rel.find('post',1).then(function(post){returndb.rel.del('post',post.posts[0]).catch(function(err){if(err.code===409){// conflict// handle the conflict}else{throwerr;// some other error}});});
The text was updated successfully, but these errors were encountered:
Forgive me if I missed something, but it seems I can't reproduce the find/save and find/del patterns described in the Readme file.
The find method returns a collection object even when specifying an id. Shouldn't the first item be extracted before it can be fed to the del/save method?
The text was updated successfully, but these errors were encountered: