PostgreSQL specific database functions

PostgreSQL specific database functions

All of these functions are available from the django.contrib.postgres.functions module.

TransactionNow

class TransactionNow [source]
New in Django 1.9.

Returns the date and time on the database server that the current transaction started. If you are not in a transaction it will return the date and time of the current statement. This is a complement to 登录查看完整内容