Documentation here 
<https://github.com/orientechnologies/orientdb/wiki/SQL-Functions#in>says 
that in([<label-1>][,<label-n>]*)

> Gets the adjacent incoming vertices starting from the current record as 
> Vertex.


Then below you put an example

> Get all the incoming vertices of type Car ad Moto from all the Vehicle 
> vertices:
> SELECT in('Car','Moto') from Vehicle

>From this example it seems that we query incoming vertices of type Car and 
Moto. 

I tried to run a similar query in a database console and it seems that 
'Car' and 'Moto' must be an Edge type not a Vertex type. Am I right?
If not could you explain why I may get the following exception:

> Type error. The class User does not extend class 'E' and therefore cannot 
> be considered an Edge
>

-- 

--- 
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