amark / mongous

Simple MongoDB driver for Node.js with jQuery like syntax.
MIT License
246 stars 30 forks source link

Standard MongoDB Query? #8

Closed ghost closed 13 years ago

ghost commented 13 years ago

Hello, this query -> db.users.find({subscriptions:'electronics'}) works in a mongoose shell. 'subscriptions' is an array, and I'm returned all users who have the string 'electronics' in their 'subscriptions' array. However, using mongous, I've tried db('myapp.users').find({subscriptions:'electronics'}) and get back nothing. Does mongous not support the standard set of querying options provided by mongoDB?

ghost commented 13 years ago

My mistake, this was an error on my part.

amark commented 13 years ago

thanks for the update.

ghost commented 13 years ago

No problem man, great work on Mongous by the way. It makes my life far simpler : )

On Fri, Mar 25, 2011 at 12:23 AM, amark < reply@reply.github.com>wrote:

thanks for the update.

Reply to this email directly or view it on GitHub: https://github.com/amark/mongous/issues/8#comment_915884