Hi
It is possible to copy record to other cluster and then delete it from
original cluster.
Just use:

document.copy().save(clusterName)
document.delete();

That is if record does not belong to class.
If it does belong to class you should add clusrter to list of clusters
which are used by document's class.
So you can issue query (look at
https://github.com/orientechnologies/orientdb/wiki/SQL-Alter-Class#examples
) :

ALTER CLASS Account ADDCLUSTER account2





On Mon, Jun 16, 2014 at 1:06 PM, Dmitry <[email protected]> wrote:

>
> Is it possible to move the record (and all references to it) to another
> cluster?
>
> Thanks!
>
> --
>
> ---
> 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.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

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