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?