2016-10-10 98 views
1

我的问题是:如何使查询从Node.js的服务器到数据库OrientDB

  • 如何从服务器到数据库进行查询?

我一直在阅读一些文章,看到从Udemy一些教程约OrientDB,我发现什么是查询语言,如SQL ,但我无法找到如何从发送查询服务器到数据库OrientDB。我在Node.js中制作服务器。

我发现如何启动连接并关闭它:

var OrientDB = require('orientjs'); 

var server = OrientDB({ 
host:  'localhost', 
port:  8082, //I am using the port 8081 for Binary and 8082 for Http 
username: 'root', 
password: 'rootPassword' 
}); 

server.close(); 

我一直在阅读的OrientDB文件,但我找不到它。 http://orientdb.com/docs/last/index.html

回答

相关问题