OrientDB 1.7rc2 from a few hours ago:

Changing the syntax for traversing the edge works.  out().out() is the 
preferred syntax but it doesn't work.

This works:
select out_.out_ from continent where name = 'europe'

Or better yet:
select expand(out_.out_) from continent where name = 'europe'

I'd also expect this one to work but it fails with
select expand(out('').out('')) from continent where name = 'europe'

Error: 
com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException:
 
Exception during response processing.
Error: 
com.orientechnologies.orient.core.exception.OCommandExecutionException: 
Error on execution of command: sql.select expand(out('').out('')) from 
continent where name = 'europe'
Error: java.lang.StringIndexOutOfBoundsException: String index out of 
range: 0



On Thursday, March 6, 2014 3:21:52 PM UTC-5, cp2 wrote:
>
> select out().out() from continent where name = 'europe'
>
> #   |@RID |out
>
> --0   |#-2:1|[0] 
>
> -Charles
>
>
> On Thu, Mar 6, 2014 at 12:07 PM, Riccardo Tasso 
> <[email protected]<javascript:>
> > wrote:
>
>> 2014-03-06 20:02 GMT+01:00 cp2 <[email protected] <javascript:>>:
>>
>> select out().country.out() from continent where name = 'europe'
>>>
>>
>> Hi, I think it's wrong: country is not a field name.
>> Try SELECT out().out() FROM Continent WHRE name = 'europe'
>>
>> Cheers,
>>    Riccardo
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "OrientDB" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/orient-database/Wngp4c-JdSs/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 

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