Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试运行密码查询以返回特定日期范围内的节点。传入日期对象 (Java) 时,查询无法返回正确的节点。我目前正在使用按预期工作的长日期值(即 getTime())。这很好,但是有没有办法只使用实际的 Date 对象?
不幸的是,neo4j 不支持将实际日期对象存储为属性。所以,现在你必须date.getTime()作为密码参数传入。
date.getTime()
我们会调查的。
它已集成在 Neo4j 2.0 中,请参见timestamp。