【问题标题】:OrientDB SQL create edge query errorOrientDB SQL 创建边查询错误
【发布时间】:2016-10-19 20:51:00
【问题描述】:

我正在尝试使用 Python 脚本 (pyorient) 在两个顶点之间创建一条边,但我收到一条奇怪的错误消息。我遵循 OrientDB SQL 语法,查询如下:

client.command("Create ExtModToTimePoint from (select from ExtendedModel where name = 'EM') to (select from TimePoint where date = %s)" % today)

我得到的错误信息是:

Error com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException - Cannot find a command executor for the command request: sql.Create

有人见过吗?

谢谢!

【问题讨论】:

    标签: orientdb


    【解决方案1】:

    正确的命令是CREATE EDGE,你可能漏掉了 EDGE 字

    【讨论】:

      猜你喜欢
      • 2014-02-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-23
      • 2016-10-31
      • 1970-01-01
      相关资源
      最近更新 更多