neo4j-func
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -162,4 +162,3 @@ "use strict"; | ||
case returnTypeEnum_1.ReturnTypeEnum.NODE: | ||
const instance = entityFactory_1.default.createInstance(data.labels[0], data.properties); | ||
instance._id = data.identity.low; | ||
const instance = entityFactory_1.default.createInstance(data.labels[0], data.identity.low, data.properties); | ||
return instance; | ||
@@ -190,3 +189,2 @@ case returnTypeEnum_1.ReturnTypeEnum.LINK: | ||
} | ||
return data; | ||
} | ||
@@ -193,0 +191,0 @@ get command() { |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/Milihhard/neo4j-func#readme", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "neo4j", |
# neo4j-func # | ||
neo4j-func is a neo4j wrapper for node.js | ||
It helps making queries by using a functionnal approach | ||
neo4j-func is a neo4j wrapper for node.js | ||
It helps making queries by using a functional approach | ||
@@ -6,0 +6,0 @@ |
@@ -182,4 +182,3 @@ import NodeNeo4J from '../models/nodeNeo4j'; | ||
case ReturnTypeEnum.NODE: | ||
const instance = EntityFactory.createInstance(data.labels[0], data.properties); | ||
instance._id = data.identity.low; | ||
const instance = EntityFactory.createInstance(data.labels[0], data.identity.low, data.properties); | ||
return instance; | ||
@@ -210,3 +209,2 @@ case ReturnTypeEnum.LINK: | ||
} | ||
return data; | ||
} | ||
@@ -213,0 +211,0 @@ |
Sorry, the diff of this file is not supported yet
91449
1623