【问题标题】:Orient js list databases in orientdborientdb中的东方js列表数据库
【发布时间】:2018-04-01 23:01:03
【问题描述】:

我在 orientdb 服务器中有多个数据库,并且正在使用 Orient js 和 node js。我正在尝试使用 server.list() 方法获取所有数据库的名称,但只能获取列表的长度,它只是告诉我服务器中的数据库总数。

如何使用 Orient js 获取数据库的名称?

【问题讨论】:

    标签: orientdb orientjs


    【解决方案1】:

    您可以使用 RESTful HTTP 协议来获得所需的内容:

    语法:http://<server>:<port>/listDatabases

    来源:OrientDB REST > listDatabases

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多