pvserverhelper
Version:
This is an npm module design to perform common uses with pVelocity's pvserver
12 lines (10 loc) • 332 B
Markdown
### ``dropSomeCollections(jsapi, matchFunction)``
Drops collections where ``matchFunction`` evaluates true provided the collection name.
- `jsapi` `<Object>`
- `matchFunction` `<Function>`
```js
pvh.dropSomeCollections(jsapi, function(collectionName){
return collectionName === 'Opportunities';
}).then(function(result) {
});
```