Greetings everyone. I am trying to learn and understand FETCHPLAN in 
OrientDB. If I have the following scenario:

Customer--[BelongsTo]-->Role
Customer--[Bought]-->Product

Where:

class Customer extends V
class Role extends V
class Product extends V
class BelongsTo extends E
class Bought extends E

If I run the following SQL:

SELECT FROM Customer FETCHPLAN *:-1

This will return all the edges connected to Customer, Role, Product, and 
also return all vertices of Customer, Role, and Product. I would like to 
know how I can limit the FETCHPLAN to only return customers and the roles 
the customer class belongs to using FETCHPLAN?

Thank you for any assistance you can provide.

Amir.

-- 

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