Created
November 10, 2017 19:21
-
-
Save rayrutjes/506ddcc9580ec3453806df2a2ec13b8a to your computer and use it in GitHub Desktop.
Javascript new deleteBy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// using no query parameters will clear the index | |
index.deleteBy({ | |
// any browse-compatible search parameters | |
}, function(err) { | |
if (!err) { | |
console.log('success'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment