Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // query
- var count = 0;
- var results = new Array();
- for (var result of fn.collection("reddit_users")) {
- var res = result.root;
- if (res.number_posts == 0 && res.number_comments == 0){
- count++;
- results.push(result);
- }
- };
- results.push(fn.concat("Count = ", count));
- results;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement