You need to sign in or sign up before continuing.
Deleting documents using JSON-style matcher won't work
Created by: vincentgiraud
This works: db.doggies.destroy({id : 2}, function(err,res){ //stinky smelled horrible });
This doesn't: db.doggies.destroy({"body ->> 'name'" : "Stinky"}, function(err,res){ //deletes records where name is "Stinky" });
Tested on PostgreSQL 9.4.4