Guest User

Untitled

a guest
Nov 18th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. var getCount = async (collectionName, query) => {
  2. try {
  3. var controllerHandle = await (getCollection(collectionName));
  4. var result = await (count(query));
  5. return result;
  6. } catch (e) {
  7. return e;
  8. }
  9. };
Add Comment
Please, Sign In to add comment