Πηγαίος κώδικας για το django.contrib.postgres.functions
from django.db.models import DateTimeField, Func, UUIDField
[τεκμηρίωση]class TransactionNow(Func):
template = 'CURRENT_TIMESTAMP'
output_field = DateTimeField()
from django.db.models import DateTimeField, Func, UUIDField
[τεκμηρίωση]class TransactionNow(Func):
template = 'CURRENT_TIMESTAMP'
output_field = DateTimeField()
Offline (Django 2.0):
HTML |
PDF |
ePub
Provided by Read the Docs.
© 2005-2024 Django Software Foundation and individual contributors. Django is a registered trademark of the Django Software Foundation.