I think the right syntax is select from test where name in ['test', 'test2']
Cheers 2015-05-05 17:59 GMT+02:00 Ziink A <[email protected]>: > works: select from test where name in ('test') > raises exception: select from test where name in ('test', 'test2') > > {"errors":[{"code":500,"reason":500,"content":"com.orientechnologies.orient.core.sql.OCommandSQLParsingException: > Error on parsing command at position #0: Encountered \"\" at line 1, column > 24.\r\nWas expecting one of:\r\n "}]} > > So is my SQL wrong or is it a bug? > > -- > > --- > 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. > -- --- 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.
