开发者

Cypher java date query

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜