emongo
emongo copied to clipboard
Count with selectors
I've added a count/4 function that allows the use of queries and field selectors. There are some differences in the wire protocol format between using a find with queries and field selectors versus a count that I also had to account for.