Thanks, Michela and it works in one sense but returns the result as array.
for e.g.
select empno,lastName,firstName,out().include("name") as deptname from
Employee
returns deptname as [{"@type":"d","@version":0,"name":"HR"}]
now if i just execute without include like below
select empno,lastName,firstName,out().name as deptname from Employee
returns deptname as ["HR"].
Do you know why it is getting returned as array?
Thanks,
Susheel
On Thursday, September 3, 2015 at 8:15:08 PM UTC-4, [email protected]
wrote:
>
> Hi Susheel,
>
> I hope that this is what are you looking for:
>
> SELECT empno,empname,out().include("deptno") as deptno,out().include(
> "deptname") as deptname FROM Employee
>
> Let me know if it is what are you looking for
>
> Regards,
> Michela
>
--
---
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.