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()
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
[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.