Closed asnad closed 4 years ago
Date conditions are not working:
Distance.all(:d).where("d.created_at <= {the_date}").params(the_date: DateTime.now) it returns nothing while I have records for this condition.
Distance.all(:d).where("d.created_at <= {the_date}").params(the_date: DateTime.now)
Neo4j database version: 3.5.3 neo4j gem version: 9.4.0 neo4j-core gem version: N/A
neo4j
neo4j-core
You have to convert to timestamp: DateTime.now.to_i
DateTime.now.to_i
Date conditions are not working:
Code example (inline, gist, or repo)
Distance.all(:d).where("d.created_at <= {the_date}").params(the_date: DateTime.now)
it returns nothing while I have records for this condition.Runtime information:
Neo4j database version: 3.5.3
neo4j
gem version: 9.4.0neo4j-core
gem version: N/A