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()
from django.db.models import DateTimeField, Func, UUIDField
[documentos]class TransactionNow(Func):
template = 'CURRENT_TIMESTAMP'
output_field = DateTimeField()
Offline (Django 2.1):
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.