Hello,

I have a basic question about queries in JCR .
I have a node hierarchy like this (+ is a node, - is a property).

+ product1
  - name
  + prices
    + price1
      - price
      - vendor
    + price2
      - price
      - vendor
    + price3
      - price
      - vendor
    ...
+ product2
+ product3
...

So, I have a node for each product and below it I have multiple nodes with
prices for this product.

Now, I want to get a list of products including the lowest price for each
product.
I don't see MIN/MAX mentioned in JCR 2.0 spec, so it seems they are not
support by repository queries. :(

What approach would you recommend to fetch such a list from the repository.

Best regards,
Peter

-- 
View this message in context: 
http://n4.nabble.com/min-max-query-tp1011086p1011086.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to