pymongo - Project the elements of an inner dictionary on the root level in MongoDB -
i have mongo structure this:
'hash' : 10111 'offer' : { 'valid' : true, 'title' : bogo 'domain': amazon.com } and want result of mongo query like:
'valid' : true, 'title' : bogo 'domain': amazon.com not nested inside offer field.
'offer' : { 'valid' : true, 'title' : bogo 'domain': amazon.com } can done?
Comments
Post a Comment