有没有办法在没有边缘的情况下制作任意 OrientDB 记录的副本?我修改了一个用于复制记录的原始命令(来自文档)并向其中添加了 fetchplan,但它不起作用(坦率地说,它看起来解析这个特定命令有问题,但希望我错了)
这个执行得很好,但边缘仍然存在:
insert into Test from select from Test where @rid=#102:119 fetchplan in_*:-2 out_*:-2
这给出了一个错误:
insert into Test from (select from Test where @rid=#102:119 fetchplan in_*:-2 out_*:-2)
com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.(SELECT FROM Test WHERE @rid = #102:119 FETCHPLAN in_*:-2 out_*:-2)
也试过了
insert into Test content (select @this.toJSON('fetchPlan:in_*:-2 out_*:-2') from Test where @rid=#102:119)
但这也不起作用。有什么想法吗?我在东方 2.1.x