internalfx/rethinkdb-regrid

Delete always returns false

Closed this issue · 0 comments

The commit f6333ce changed the RethinkDB query from a delete() to an update(). The next line return result.deleted === 1 should be updated to return result.replaced === 1 or something like that.