django-firebird icon indicating copy to clipboard operation
django-firebird copied to clipboard

subtract_temporals operation

Open maxirobaina opened this issue 6 years ago • 0 comments

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 avatar Apr 13 '18 23:04 maxirobaina