Monday 5 June 2017

meaning of properties object in the response of neo4j

using node.js, i am running a cypher (not important what exactly is the cypher) and getting back a result.

after parsing the result using the follwing code:

result.records[0].get('instanceStock').properties

i am getting the following json:

{  
   "quantity":{  
      "low":10,
      "high":0
   }
}

the value 10 is the correct one which actually reside inside the db.


  1. what is the meaning of the "low" and "high" properties?
  2. why the correct answer reside inside the "low" property?


via LiranC

No comments:

Post a Comment