Also experiencing an empty $stack variable. Any suggestions? 

Op donderdag 9 augustus 2012 02:38:23 UTC+2 schreef Lvc@:
>
> Hi,
> you can access to the "$stack" variable ;-)
>
> Lvc@
>
> On 5 August 2012 00:34, mikkadar <[email protected] <javascript:>> wrote:
>
>> Hello,
>>
>> I am trying to retrieve all the paths that starts at a specified vertex 
>> named vertexX using SQL traverse, and for that I am using the following 
>> query:
>>
>> select $path from ( traverse V.out, E.in from ( select from V where name 
>> = 'vertexX' ) )
>>
>> One of the returned path values that I get when I print out is:
>>
>>
>> #6:17.out.#7:28.in.#6:13.out.#7:19.in.#6:10.out.#7:12.in.#6:15.out.#7:4.in.#6:19.out.#7:27.in.#6:5
>>
>> Intuitively, #6:17 is the RecordID of vertexX, and the RecordIDs that 
>> include 6 are for vertices while those that include 7 are for edges.
>>
>> However, and without doing string manipulation, is there a 
>> straightforward way to extract the vertices and the edges from the returned 
>> path string?
>>
>> Thanks a lot.
>>
>> /Miky
>>
>> -- 
>>  
>>  
>>  
>>
>
>

-- 

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