Re: [orientdb] OrientDB sql query involving multiple classes

2018-03-28 Thread Ersin Sevinc
Yeahh!! it worked. Really thanks about that. "databasename": { "mapping": { "fromTable": "source table", "fromColumns": ["source field"], "toTable": "destination table", "toColumns": ["destination table"], "direction": "direct"

Re: [orientdb] OrientDB sql query involving multiple classes

2018-03-28 Thread Luigi Dell'Aquila
Hi Ersin, The problem seems to be in the python driver, did you try to run the queries in Studio and see if they work fine? If you are using OrientDB v 3.0 RC you can write a query as follows: MATCH {class:Company, as:company} <-PersonnelRelation- {as:person} RETURN company:{*}, person:{*}