cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

datetime Field gives an empty array

I want to query data using GraphQL in the Apollo sandbox which is connected to the neo4j database. As per the neo4jGraphql library, there is a temporal type DateTime.

My Query:
query Abc {
  abc(where: { createdDate: "2022-07-14T00:00:00Z" }) {
    name
  }
}
In my schema, I have declared createdDate as DateTime and when I query it, it gives an empty array. Why so?
But if I declare it as a string, I am able to get the name.
 
I want to query it based on datetime to select data within some DateTime range.
Could anyone please help me with this?
0 REPLIES 0