... django.db.models.functions.UUID4 is a cross-database version of this function. RandomUUID may be deprecated in the future. TransactionNow ¶ class TransactionNow [ソース] ¶ 現在のトランザクションが開始されたデータベースサーバー上の日時を返します。トランザクショ ... ートメントの日時を返します。 Note that only the outermost call to atomic() sets up a transaction and thus sets the time that TransactionNow() will return; nested calls create savepoints which do not affect the transaction time. 使用例: >>> from django.contrib.po ... stgres.functions import TransactionNow >>> Article . objects . filter ( published__lte = TransactionNow ()) <QuerySet [<Article: How to Django>]> 目次 PostgreSQL ... ... django.db.models.functions.UUID4 is a cross-database version of this function. RandomUUID may be deprecated in the future. TransactionNow ¶ class TransactionNow [ソース] ¶ 現在のトランザクションが開始されたデータベースサーバー上の日時を返します。トランザクショ ... ートメントの日時を返します。 Note that only the outermost call to atomic() sets up a transaction and thus sets the time that TransactionNow() will return; nested calls create savepoints which do not affect the transaction time. 使用例: >>> from django.contrib.po ... stgres.functions import TransactionNow >>> Article . objects . filter ( published__lte = TransactionNow ()) <QuerySet [<Article: How to Django>]> 目次 PostgreSQL ... ... ルド PostgreSQL 固有のフォームフィールドとウィジェット フィールド ウィジェット PostgreSQL 固有のデータベース関数 RandomUUID TransactionNow PostgreSQL 固有のモデルインデックス BloomIndex BrinIndex BTreeIndex GinIndex GistIndex HashIndex SpGistIndex OpClass() 式 ... ... ルド PostgreSQL 固有のフォームフィールドとウィジェット フィールド ウィジェット PostgreSQL 固有のデータベース関数 RandomUUID TransactionNow PostgreSQL 固有のモデルインデックス BloomIndex BrinIndex BTreeIndex GinIndex GistIndex HashIndex SpGistIndex OpClass() 式 ... ... のサポートが追加されました。 Added django.contrib.postgres.fields.JSONField . PostgreSQL 固有の集計関数 が追加されました。 TransactionNow データベース関数が追加されました。 django.contrib.sessions ¶ db と cached_db バックエンドの session モデルと SessionStore ... ... のサポートが追加されました。 Added django.contrib.postgres.fields.JSONField . PostgreSQL 固有の集計関数 が追加されました。 TransactionNow データベース関数が追加されました。 django.contrib.sessions ¶ db と cached_db バックエンドの session モデルと SessionStore ... ... わりに STATEMENT_TIMESTAMP を使用します。トランザクションのタイムスタンプが必要な場合は、 django.contrib.postgres.functions.TransactionNow を使用してください。 Oracle Oracle では、 CURRENT_TIMESTAMP を DateTimeField にキャストする際の問題を回避するために LOCALT ... ... わりに STATEMENT_TIMESTAMP を使用します。トランザクションのタイムスタンプが必要な場合は、 django.contrib.postgres.functions.TransactionNow を使用してください。 Oracle Oracle では、 CURRENT_TIMESTAMP を DateTimeField にキャストする際の問題を回避するために LOCALT ... 2026年10月08日