Got it:
db.post.find({'author.$id': 'foo'})
More Related Contents:
- Is there any way to return a reference to a variable created in a function?
- MongoDB relationships: embed or reference?
- Why can I return a reference to a local literal but not a variable?
- Cannot move out of borrowed content / cannot move out of behind a shared reference
- Why are explicit lifetimes needed in Rust?
- Cannot borrow as mutable because it is also borrowed as immutable
- How do I implement the Add trait for a reference to a struct?
- Cannot move out of borrowed content when trying to transfer ownership
- How to avoid writing duplicate accessor functions for mutable and immutable references in Rust?
- Iterator returning items by reference, lifetime issue
- Why does pattern matching on &Option yield something of type Some(&T)?
- What is the purpose of `&` before the loop variable?
- MongoDB – is DBREF necessary?
- Why is “&&” being used in closure arguments?
- When should I not implement a trait for references to implementors of that trait?
- What is an idiomatic way to collect an iterator of &T into a collection of Ts?
- How to abstract over a reference to a value or a value itself?
- Finding all references of a variable or a method in Xcode4
- Rust lifetime error expected concrete lifetime but found bound lifetime
- Pass by reference problem with PHP 5.3.1 [duplicate]
- How to send documents from my mongodb database to android application?
- Why ‘&’ reference in not required in classes in C++?
- the difference between reference and object in java [duplicate]
- MongoDB – Update an object in nested Array
- Windows Visual Themes: Gallery of Parts and States?
- Mongodb Explain for Aggregation framework
- Mongoose indexing in production code
- MongoDB Failing to Start – ***aborting after fassert() failure
- Is it possible to pass parameters by reference using call_user_func_array()?
- mongodb aggregation framework match by nested documents