I'm attempting to run a cypher query to return back nodes within a particula开发者_StackOverflow中文版r date range. When passing in the date object (Java) the query fails to return the correct nodes. I'm currently using the long date value (i.e. getTime()) which works as expected. This is great, but is there a way of just using the actual Date object?
Unfortunately neo4j has no support for storing actual date objects as properties. So, right now you have to pass in date.getTime()
as cypher parameters.
We'll look into that.
It has been integrated in Neo4j 2.0, see timestamp.
精彩评论