hi 
i am working on orientdb document database , i got strucked up with eval() 
function.....
eval("3 + 2") works fine.....but i want to get output from eval(" select 
count(*) from x + select count(*) from y").........is it possible to use 
select inside evaluate if so, just provide me some sample examples 
otherwise if there exist any alternative ........please provide that

On Tuesday, October 30, 2012 at 12:37:45 AM UTC+5:30, Lvc@ wrote:
>
> Hi guys,
> since NuvolaBase is involved in a Business Intelligence project in the 
> "BigData" field, the client payed some features like the "GROUP BY" 
> introduced few days ago and the new entry for today: the eval() function.
>
> *eval("<expression>")* takes an expression as string and evaluate it. 
> Something like the JS eval(). Remember to separate with space the items. 
> Exampl:
>
> select eval("3 * 2 + 10") -> 70
>
> and this:
>
> *select price, eval( "price * 20 / 100" ) as vat, eval("prica + vat") as 
> totalPrice from sells*
>
> Note that inside the eval() function you can access to the current record 
> and pre-computed projections!
>
> We think this is a huge added value in reports, complex queries and 
> Business Analysis projects like this.
>
> Lvc@
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to