I suppose what you need is:
db.collection.find( { field1: { $elemMatch: { one: 1 } } } );
http://docs.mongodb.org/manual/reference/operator/elemMatch/#op._S_elemMatch
More Related Contents:
- How does MongoDB sort records when no sort order is specified?
- How to listen for changes to a MongoDB collection?
- Cascade style delete in Mongoose
- Find MongoDB records where array field is not empty
- MongoDB – Update an object in nested Array
- Creating Multifield Indexes in Mongoose / MongoDB
- Mongodb Explain for Aggregation framework
- MongoDB aggregation comparison: group(), $group and MapReduce
- MongoDB group by array inner-elements
- Multiple Counts with single query in mongodb
- NoSQL (MongoDB) vs Lucene (or Solr) as your database [closed]
- Delete everything in a MongoDB database
- Failed to start mongod.service: Unit mongod.service not found
- How to return array of string with mongodb aggregation
- How to return just the nested documents of an array from all documents
- Mongoose’s find method with $or condition does not work properly
- Using MongoDB $pull to delete documents within an Array
- return query based on date
- MongoParseError: options useCreateIndex, useFindAndModify are not supported
- Can’t find documents searching by ObjectId using Mongoose
- Mongodb aggregation $group, restrict length of array
- mongodb – Find document with closest integer value
- mongodb, replicates and error: { “$err” : “not master and slaveOk=false”, “code” : 13435 }
- MongoDB/NoSQL: Keeping Document Change History
- Update a value in MongoDB based on its current value
- How to connect to external MongoDB instance in Meteor?
- Generating a Structure for Aggregation
- How to configure MongoDB Java driver MongoOptions for production use?
- MongoDB normalization, foreign key and joining
- MongoDB: Find Subdocument in Array Matching Parameters