Código fonte para django.contrib.postgres.functions
from django.db.models import DateTimeField, Func, UUIDField
[documentos]class TransactionNow(Func):
template = 'CURRENT_TIMESTAMP'
output_field = DateTimeField()
Please take a few minutes to complete the
2024 Django Developers Survey.
Your feedback will help guide future efforts.
from django.db.models import DateTimeField, Func, UUIDField
[documentos]class TransactionNow(Func):
template = 'CURRENT_TIMESTAMP'
output_field = DateTimeField()
Offline (Django 2.2):
HTML |
PDF |
ePub
Oferecido por Leia o Doc.
© 2005-2024 Django Software Foundation and individual contributors. Django is a registered trademark of the Django Software Foundation.