Skip to content
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

subtract_temporals operation #84

Open
maxirobaina opened this issue Apr 13, 2018 · 0 comments
Open

subtract_temporals operation #84

maxirobaina opened this issue Apr 13, 2018 · 0 comments

Comments

@maxirobaina
Copy link
Owner

In order to enable temporal subtraction you must set the supports_temporal_subtraction database feature flag to True and implement the DatabaseOperations.subtract_temporals() method. This method should return the SQL and parameters required to compute the difference in microseconds between the lhs and rhs arguments in the datatype used to store DurationField.

@maxirobaina maxirobaina added this to the 1.10.0 milestone Apr 13, 2018
@maxirobaina maxirobaina modified the milestone: 1.10.0 Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant