-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date properties are stored as string instead of temporal #441
Comments
@machosec I think that what you may be pointing to here is that With server-side queries, you can always use the functions that cast a date bearing string to a date if you wish to extract specific parts of the date (e.g. in a "group by month" scenario) and at client-side, the date has already been turned into a Is there a more specific example of any failures this might be leading to? |
Hi @aanastasiou , |
@machosec I understand. That would be the difference between Unfortunately, the Feel free to submit a PR if you can handle this. |
The |
@machosec That's fine, but if you think you are going to be applying what feels like bigger changes, can you please have a look at this ?. If you are making big changes, it might be good to see what else could be taken care of at the same time, since you are getting into this "trouble". Note, I am not telling you to do more than providing this feature, I am just telling you that there are a few things open already. If the change you do could also work for something else, that would be great, let's take that into account as early as possible. All the best |
Any update on this? |
Neomodel's date property types (
DateProperty
,DateTimeProperty
andDateTimeFormatProperty
) are inflated and stored as string values in neo4j instead of temporal values (https://neo4j.com/docs/cypher-manual/current/syntax/temporal/).Using string instead of date/time types ruin many filtering/sorting capabilities which I guess are not desired.
The text was updated successfully, but these errors were encountered: