Kod źródłowy modułu django.contrib.postgres.functions
from django.db.models import DateTimeField, Func, UUIDField
[dokumentacja]class TransactionNow(Func):
template = 'CURRENT_TIMESTAMP'
output_field = DateTimeField()
from django.db.models import DateTimeField, Func, UUIDField
[dokumentacja]class TransactionNow(Func):
template = 'CURRENT_TIMESTAMP'
output_field = DateTimeField()
Offline (Django 2.0):
HTML |
PDF |
ePub
Dostarczone przez Read the Docs.
© 2005-2024 Django Software Foundation and individual contributors. Django is a registered trademark of the Django Software Foundation.