• 2.0
  • dev
  • Documentation version: 1.11

Source code for django.contrib.postgres.functions

from django.db.models import DateTimeField, Func


[문서]class TransactionNow(Func): template = 'CURRENT_TIMESTAMP' def __init__(self, output_field=None, **extra): if output_field is None: output_field = DateTimeField() super(TransactionNow, self).__init__(output_field=output_field, **extra)
Back to Top