Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 orientdb 服务器中有几个数据库,并且正在使用 Orient js 和 node js。我正在尝试使用 server.list() 方法获取所有数据库的名称,但只能获取列表的长度,它只是告诉我服务器中的数据库总数。
如何使用 Orient js 获取数据库的名称?
您可以使用 RESTful HTTP 协议来获得所需的内容:
句法:http://<server>:<port>/listDatabases
http://<server>:<port>/listDatabases
来源:OrientDB REST > listDatabases