Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If I wanted to return a bunch of _ids from a mongo database i would do a _id:$in[array of ObjectIDs] and then stream the resulting cursor to res. Streams are core to node. You should use them.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: