pyorient query raises " struct.error: required argument is not an integer"

143 views Asked by At

I am trying to make a simple SQL query on my OrientDB database using pyorient. First I encountered a problem where my currently used protocol (38) wasn't supported yet by pyorient. I solved it with this solution. Now when I try to make a simple query like data = client.query("SELECT FROM cars") it raises these errors: screenshot of errors I tried the same query in orientDBstudio successfully.

Any idea what I should try or change? Thanks a lot!

1

There are 1 answers

0
Dipanwita Mallick On

may be start by -> data = client.query("SELECT * FROM cars") The "*" is missing.