how to write this using delegator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to write this using delegator

Bhupendra
Hello guys,
I want to write this query using delegator, please help in writing.

SELECT MIN(price),MAX(price) FROM product_price WHERE product_id IN('10011','10011');


Thanks
Bhupendra.


________________________________
http://www.mindtree.com/email/disclaimer.html
Reply | Threaded
Open this post in threaded view
|

Re: how to write this using delegator

Vivek Mishra-2
Hi Bhupendra,

You can create these conditions using EntityCondition class. Just search
in the framework that how it is being used and worked.
For example refer CommissionRun.groovy.

Thanks!
-- Vivek Mishra

Bhupendra Shivade wrote:

> Hello guys,
> I want to write this query using delegator, please help in writing.
>
> SELECT MIN(price),MAX(price) FROM product_price WHERE product_id IN('10011','10011');
>
>
> Thanks
> Bhupendra.
>
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
>
>  

smime.p7s (4K) Download Attachment