We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A queryset like:
Experiment.objects.filter(start=F('start') + F('estimated_time')
where estimated_time is a DurationField, generates SQL:
estimated_time
DurationField
WHERE "experiment"."start" = ("experiment"."start" + INTERVAL '"expressions_ExPeRiMeNt"."estimated_time" MICROSECONDS')
but INTERVAL doesn't support column names. (SQL compilation error: syntax error line 1 at position 0 unexpected '"experiment"'.)
INTERVAL
SQL compilation error: syntax error line 1 at position 0 unexpected '"experiment"'.
Perhaps Snowflake could add support for this. For example, MySQL allows:
INTERVAL `experiment`.`estimated_time` MICROSECOND
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A queryset like:
where
estimated_time
is aDurationField
, generates SQL:but
INTERVAL
doesn't support column names. (SQL compilation error: syntax error line 1 at position 0 unexpected '"experiment"'.
)Perhaps Snowflake could add support for this. For example, MySQL allows:
The text was updated successfully, but these errors were encountered: