Hi Hung, How do you cal that SQL form Java API? Lvc@
On 6 August 2014 11:45, Hung Tran <[email protected]> wrote: > Hi, > > Today, I have played with a SQL as following > > SELECT FROM ContactList > LET $a = (SELECT count(1) FROM Contact WHERE OwnedBy = > $parent.$current.@rid) > WHERE Segments.size() > 0 AND $a[0].count > 0 limit 1 > > 1/ Orient Console returns 1 record as expected > > 2/ JavaAPI throws an exception > > OCommandSQLParsingException: Invalid keyword 'SEGMENTS.SIZE' > > I am using OrientDB v1.7. Is there any workaround for v1.7? > > Cheers, > Hung Tran > > -- > > --- > 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.
