I can't to query a collection like this below, in order to get the maximun "value" of a given "key", but key and value are subcollection of a collection
I need to get the max value of the "Revision" key of this collection:
- document
- id
- description
- key
- version
- revision
- otherkey
- value
- "1.0"
- 1
- "othervalue"
- document
- id
- description
- key
- version
- revision
- otherkey
- value
- "1.0"
- 2
- "othervalue"
- document
- id
- description
- key
- version
- revision
- otherkey
- value
- "1.0"
- 3
- "othervalue"
- document
- id
- description
- key
- version
- revision
- otherkey
- value
- "2.0"
- 1
- "othervalue"
any hints?