There isn't a way just to get a list of tags without using map/reduce
or pulling the whole doc back and iterating it client side.
On Mon, Jun 18, 2012 at 6:42 PM, digerati <
bhask...@gmail.com> wrote:
> Hi all,
>
> I am trying to see if there is a way to get the keys of a nested document.
> Here is the example,
>
> { "_id" : "asdf123", "redeemers" : { "f7eb8dd0c043dd300ac8f" : { "tag" :
> "abcd", "timestamp" : 1338326429001 }, "f7eb8df2a876a64553e5" : { "tag" :
> "wxyz", "timestamp" : 1338327205656 } } }
>
> I am trying to get all the tag's in the redeemers for a given _id
>
> Thank you for your response
>
> Best,
> d
>
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to
mongod...@googlegroups.com
> To unsubscribe from this group, send email to
>
mongodb-user...@googlegroups.com
> See also the IRC channel --
freenode.net#mongodb