codeswarm / sails-couchdb-orm

CouchDB Adapter for the Sails.js ORM Framework, Waterline
36 stars 20 forks source link

Fixed destroy hang when no results are found #19

Closed johnhof closed 8 years ago

johnhof commented 9 years ago

cb was being called for every value in the returned results. Additionally, if no values were returned form the search, cb would never be called, and the destroy would hang.

johnhof commented 8 years ago

Bump. Destroying documents locks opp a request at the moment

johnhof commented 8 years ago

@mikehostetler

johnhof commented 8 years ago

closing in favor of https://github.com/codeswarm/sails-couchdb-orm/pull/20