Querying array elements with Mongo
From the documentation:
Note: Fields containing arrays match conditional operators, if only one item matches.
Therefore, the following query:
db.collection.find( { field: { $gt:0, $lt:2 } } );
Will match a document that contains the following field:
{ field: [-1,3] }