#24866: Add CURRENT_TIMESTAMP function to db.functions
-------------------------------------+-------------------------------------
Reporter: funkybob | Owner: nobody
Type: New | Status: new
feature |
Component: Database | Version: 1.8
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 1 | Needs tests: 1
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
00:21 <+jarshwah> or.. Func(template='NOW()',
output_field=DateTimeFIeld()) would work too
Postgres, MySQL, SQLite and MS SQL support this function, and it would be
very handy.
In the past I've implemented it using an ExpressionNode, but with the new
functions module, it could be simpler and more useful.
--
Ticket URL: <https://code.djangoproject.com/ticket/24866>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.77c3fa16f2f191df3d128e1ab3e9a2e1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.