adding mongoose query support

![tumblr_lhtxirvoAk1qb08qmo1_400](https://f.cloud.github.com/assets/678338/431872/ee240c2c-ae95-11e2-8670-f52ebe0a19b3.gif)