I'm beginning to play around with MongoDB and I'm wondering if it's possible to query the datastore for any property with a particular value.
So instead of:
db.foo.find({'color':'red'})
I'm looking to see if you can do something like:
db.foo.find({'%':'red'})
Is that possible? Is there a syntax for wildcarding the property slot? I tried using a regular expression but that gave me an error.