Yes, it would be like this

SELECT name FROM
(SELECT OUT("Child") FROM Parent WHERE name = 'Parent-1')
AS child WHERE @class='MyChild'



On Monday, June 1, 2015 at 2:33:08 PM UTC-4, isobretatel wrote:
>
> Is it possible to specify class in WHERE clause?
> I need the results to have instances of MyChild class only:
>
> SELECT name FROM 
> (SELECT OUT("Child") FROM Parent WHERE name = 'Parent-1') 
> AS child WHERE child instanceof MyChild
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to