[英]Nodejs and Orientdb database connection?
我是 Orientdb 的新手,我希望了解更多有關如何將 nodejs 與 orientdb 結合使用的信息。 任何網站、建議、視頻都會有所幫助..謝謝
您可以在 OrientDB 官方文檔中找到一些示例: https ://orientdb.com/docs/2.2/OrientJS.html#orientjs-driver
無論如何,這是一個連接示例:
var OrientDB = require('orientjs');
var server = OrientDB({
host: 'localhost',
port: 2424,
username: 'root',
password: 'root'
});
var db = server.use({
name: 'GratefulDeadConcerts',
username: 'root',
password: 'root'
});
server.close();
希望能幫助到你
問候
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.