Kod źródłowy modułu django.contrib.postgres.functions

from django.db.models import DateTimeField, Func, UUIDField


[dokumenty]class RandomUUID(Func): template = 'GEN_RANDOM_UUID()' output_field = UUIDField()
[dokumenty]class TransactionNow(Func): template = 'CURRENT_TIMESTAMP' output_field = DateTimeField()
Back to Top