[英]Why there is a part of the code who is not executed? Node.js/Oriento
我已經調用了一個函數, function select(items ,className, callback) ,該console.log("Function ran.") console.log console.log("Function ran.")並且從未創建console.log 。 ...
[英]Why there is a part of the code who is not executed? Node.js/Oriento
我已經調用了一個函數, function select(items ,className, callback) ,該console.log("Function ran.") console.log console.log("Function ran.")並且從未創建console.log 。 ...
[英]How to insert a vertex with link type property with the orientjs query builder?
我正在嘗試使用orientjs(以前是oriento)查詢生成器插入一個頂點。 我的班級有一個指向另一個班級的鏈接類型屬性。 我知道我可以使它與原始查詢字符串一起使用,但是我很想使用查詢生成器。 到目前為止,這是我嘗試過的: 我收到以下錯誤: 我是否以正確的方式設置 ...
[英]How to update a specific record from a class using the query builder in Orientjs (previously called oriento)?
我需要在User類中更新特定記錄。 我沒有任何具有唯一索引的字段,因此我需要使用@rid字段。 如何使用orientjs更新具有動態屬性的特定記錄? 如果可能的話,我想使用查詢生成器,因為我的更新記錄在請求正文中。 這是我嘗試過的: 它給了我一個語法錯誤,因為我不能在 ...
[英]Check if database with specified name exists or not
您可能知道,每當我們在“ sails-orientdb適配器”配置中設置新數據庫時,它都會創建數據庫,現在,如果orientdb中沒有使用該名稱的數據庫,那么現在將在創建數據庫的時候創建數據庫要創建與類相關的頂點,可以說這些頂點是我的應用程序的默認值,每當創建新數據庫時,這些默認值也會被創建,但 ...
[英]How to access results within batch statements in oriento
如何在第二個批處理語句中訪問新插入的@rid。 我需要能夠從第一條語句訪問@rid。 ...
[英]Best practice for managing OrientDB connections in Express.js / Web Applications
為此,建議使用什么方法來管理Express.js或任何Web應用程序中的OrientDB連接? 每個請求的連接? 將使用oriento Node.js驅動程序 ...
[英]Oriento query builder like clause
我正在嘗試使用oriento db接口進行自動完成工作。 Web服務器是具有快速框架的nodeJS,服務器代碼如下: 我無法弄清楚如何使where子句像filtriRicerca.nome%一樣工作。 在此先感謝,Mattia ...
[英]Why we use ORM or ODM to manage any graphDB?
大家好,我正在開發nodeJS應用。 我搜索了一些模塊來管理我的數據庫(orientdb)。 我的問題是:為什么我們使用任何ORM或ODM(或為什么建議使用它),因為有一個模塊可以提供許多功能來管理數據庫。 我仍然困惑我應該使用orientorm( https://github.com/m ...
[英]How to create an index over an property which is a list of objects in OrientDB?
我想要一個存儲這樣的結構的類: ` 現在,我想在metaData [?]上建立一個索引 。 一個領域。 在模式中表示此metaData的最佳方法是什么? 作為EmbeddedList? 是否可以擁有我想要的索引? 如果是這樣,通過“ a”值檢索實體的查 ...
[英]How to use functions in Oriento Query Builder where clauses?
如何使用Oriento查詢生成器(Oriento OrientDB驅動程序的node.js驅動程序的一部分)從OrientDB文檔編寫以下示例? 謝謝您的幫助。 ...
[英]Node program with oriento does not exit after select
在node.js中,我使用oriento模塊訪問OrientDB。 原則上,一切正常,唯一的問題是程序不會按預期退出。 這是示例: 程序執行select,然后執行“ then”子句,最后執行“ finally”子句。 一切都很好。 但是它不會退出。 事件循環似乎掛着一些東西。 ...
[英]Koa: What is the most sensible way to connect to a database without an existing wrapper?
我是Node&Koa的新手,請原諒我的愚蠢。 我不確定我是否搞砸了。 但是我想將Koa與OrientDB一起使用。 我可以使用Oriento(Node的模塊)連接到OrientDB。 我想使用Koa發電機的力量。 由於OrientDB數據庫中的數據與我在應用程序中使用的對象有關 ...
[英]SailsJS: Where to define db connection to not supported db type (orientdb)? Custom Middleware?
我想將SailsJS與OrientDB一起使用(使用Oriento for NodeJS)。 建立和定義數據庫連接以便在每個模型中都可用的正確位置是什么? 我將連接的值放在config / connections.js中,將連接本身放在/config/http.js中作為自定義中間件。 ...
[英]Node.js Oriento driver example with error handling
我是node.js的新手,並試圖通過orientdb作為數據存儲來教自己節點。 我正在使用oriento作為驅動程序。 我希望能夠處理代碼中的任何連接錯誤,但在與Orientdb服務器的初始連接以及與數據庫的連接期間找不到任何如何執行此操作的示例: 如果服務器連接錯誤,如何捕獲? ...
[英]OrientDB.RequestError: Cannot find a command executor for the command request: sql.#11.1
我正在嘗試OrientDB(社區版v1.7-rc2)/ Oriento(0.4.0) 功能 異常失敗 所以我調試了驅動程序,直到找到 return db.query(command);之前的命令內容return db.query(command); 是 然 ...