Hi Martin,
fetchplan goes after the WHERE. Try this:

select from comment where @rid=#13:11 fetchplan Replies:1000

About the console command:

export record json

It's totally unrelated to the select before. Try using fetchplan (also) on
"export record" command:

export record json fetchPlan:Replies:1000

Lvc@



On 13 August 2014 16:05, Martin Bean <[email protected]> wrote:

> Funny thing is, when I execute the following in the console:
>
> select from comment fetchplan Replies:1000 where @rid=#13:11; export
> record json
>
> I also get:
>
> {
>     "result": [
>         {
>             "@type": "d",
>             "@rid": "#13:11",
>             "@version": 2,
>             "@class": "Comment",
>             "EditText": "main comment",
>             "Replies": [
>                 "#13:1",
>                 "#13:3",
>                 "#13:4",
>                 "#13:5",
>                 "#13:10"
>             ]
>         }
>     ]
> }
>
> Its not traversing...
>
> --
>
> ---
> 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.

Reply via email to