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
Django 1.9 introduced a new Now function:
>>> from django.db.models.functions import Now >>> Article.objects.filter(published__lte=Now()) <QuerySet [<Article: How to Django>]>
This translates to the SQL STATEMENT_TIMESTAMP on Postgres, and CURRENT_TIMESTAMP on other SQL databases.
STATEMENT_TIMESTAMP
CURRENT_TIMESTAMP
It would be nice if the README file documented this similarity for clarity.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Django 1.9 introduced a new Now function:
This translates to the SQL
STATEMENT_TIMESTAMP
on Postgres, andCURRENT_TIMESTAMP
on other SQL databases.It would be nice if the README file documented this similarity for clarity.
The text was updated successfully, but these errors were encountered: