Hi I have a requirement where I have to fetch key/value of a field from my mongodb.. I know how to map String/Int and array fields but not sure how to do for object fields, below is the sample example
Am I correct in assuming that the keys within the pixels object ("00", "02", "03", ...) are variable? Meaning there is no limit to the potential values? If so, this is not something we currently support.
I'd like to more about the meaning of this data and how you would like to see it mapped.
@PaulJackson
Thanks for the response.. Yes the keys "00","02" are variables..
Currently in our mongodb these keys are used to sort the results something like { "$sort" : { "pixels.09" : -1, "_id" : 1 } }, .....
As you said there will be no limit to the potential values.. But let's say I make it finite for now in that case how will we map it??
Suggestions you gave looks fine to me provided we can later use the variables in ORDER BY something like (ORDER BY DESC(?pixels.00)) ..