Reputation: 175
I'm attempting to run a cypher query to return back nodes within a particular 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?
Upvotes: 2
Views: 1167
Reputation: 41706
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.
Upvotes: 2