In the web UI i execute:
MOVE VERTEX #12:0 TO CLASS:Version
And the result is:
{
    "result": [
        {
            "@type": "d",
            "@version": 0,
            "old": "#12:0",
            "new": "#16:0",
            "@fieldTypes": "old=x,new=x"
        }
    ],
    "notification": "Query executed in 0.024 sec. Returned 1 record(s)"
}
Do it does move the vertex or record, but it creates a new @RID for it.

On Thursday, March 19, 2015 at 3:55:41 PM UTC+1, odbuser wrote:
>
> OrientDB 2.0.5
>
> MOVE doesn't work at all for me... but even if it did, are you sure it's 
> supposed to keep copy and create a new rid?   I wouldn't think so but I 
> can't verify it.
>
> create class A extends V
> Class created successfully...
>
> create class B extends V
> Class created successfully...
>
> create vertex A
> Created vertex 'A#15:0 v1' in 0.002000 sec(s).
>
> move vertex ( select from A ) to CLASS:B
>
> select from B
> 0 item(s) found. Query executed in 0.0 sec(s).
>
>
>
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to