per page, with , order by , clip by
Results of 1 - 10 of about 22 for OuterRef (0.004 sec.)
PostgreSQL 固有のクエリ式 — Django 6.1 ドキュメント 11363
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有のクエリ式 ¶ これらの式は django.contrib.postgres.expressions モジュールから利用できます。 ArraySubquery() 式 ¶ class ArraySubquery ( ... に関連する全ての書籍を JSON オブジェクトとしてアノテーションしたい場合は、次のようにします: >>> from django.db.models import OuterRef >>> from django.db.models.functions import JSONObject >>> from django.contrib.postgres.expressions import ArraySubquery >> ... > books = Book . objects . filter ( author = OuterRef ( "pk" )) . values ( ... json = JSONObject ( title = "title" , pages = "pages" ) ... ) >>> author = Author . objects . ann ... ード ArraySubquery books title pages クエリ import author PostgreSQL contrib postgres expressions セット 構築 values models OuterRef JSONObject objects 固有 queryset ソース コンストラクタ Subquery QuerySet ArrayAgg クイック検索 Last update: 2026年10月09日 ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/expressions.html
PostgreSQL 固有のクエリ式 — Django 6.1 ドキュメント 11211
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PostgreSQL 固有のクエリ式 ¶ これらの式は django.contrib.postgres.expressions モジュールから利用できます。 ArraySubquery() 式 ¶ class ArraySubquery ( ... に関連する全ての書籍を JSON オブジェクトとしてアノテーションしたい場合は、次のようにします: >>> from django.db.models import OuterRef >>> from django.db.models.functions import JSONObject >>> from django.contrib.postgres.expressions import ArraySubquery >> ... > books = Book . objects . filter ( author = OuterRef ( "pk" )) . values ( ... json = JSONObject ( title = "title" , pages = "pages" ) ... ) >>> author = Author . objects . ann ... go books title pages クエリ import author PostgreSQL contrib postgres expressions セット リスト 構築 values 必要 db models OuterRef 関連するページ PostgreSQL 固有のデータベース制約 PostgreSQL 固有のモデルインデックス PostgreSQL 固有のデータベース関数 Pos ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/expressions.html
クエリ式 (Query Expression) — Django 6.1 ドキュメント 11211
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クエリ式 (Query Expression) ¶ クエリ式 (query expression) は、update、create、filter、order by、annotation、またはaggregateの一部として使用できる値ま ... rder_by ( "name__length" ) # Boolean expression can be used directly in filters. >>> from django.db.models import Exists , OuterRef >>> Company . objects . filter ( ... Exists ( Employee . objects . filter ( company = OuterRef ( "pk" ), salary__gt = 10 ) ... にその投稿の最新コメントの投稿者のメールアドレスをアノテーションとして付けることができます: >>> from django.db.models import OuterRef , Subquery >>> newest = Comment . objects . filter ( post = OuterRef ( "pk" )) . order_by ( "-created_at" ) >>> Post . obj ... り明確に、あるいは効率的に実行する等価なクエリセットを書けるかもしれません。 外側のクエリセットからカラムを参照する ¶ class OuterRef ( field ) [ソース] ¶ OuterRef は Subquery 内のクエリセットが外側のクエリまたはそのトランスフォームのフィールドから参照され ...
https://man.mtool.work/django/6.1/ref/models/expressions.html
クエリ式 (Query Expression) — Django 6.1 ドキュメント 11211
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クエリ式 (Query Expression) ¶ クエリ式 (query expression) は、update、create、filter、order by、annotation、またはaggregateの一部として使用できる値ま ... rder_by ( "name__length" ) # Boolean expression can be used directly in filters. >>> from django.db.models import Exists , OuterRef >>> Company . objects . filter ( ... Exists ( Employee . objects . filter ( company = OuterRef ( "pk" ), salary__gt = 10 ) ... にその投稿の最新コメントの投稿者のメールアドレスをアノテーションとして付けることができます: >>> from django.db.models import OuterRef , Subquery >>> newest = Comment . objects . filter ( post = OuterRef ( "pk" )) . order_by ( "-created_at" ) >>> Post . obj ... り明確に、あるいは効率的に実行する等価なクエリセットを書けるかもしれません。 外側のクエリセットからカラムを参照する ¶ class OuterRef ( field ) [ソース] ¶ OuterRef は Subquery 内のクエリセットが外側のクエリまたはそのトランスフォームのフィールドから参照され ...
https://man.mtool.work/django/6.1/ref/models/expressions.html
条件式 — Django 6.1 ドキュメント 10083
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... ul" ), then = "name" ) >>> # Condition can be created using boolean expressions. >>> from django.db.models import Exists , OuterRef >>> non_unique_account_type = ( ... Client . objects . filter ( ... account_type = OuterRef ( "account_type" ), ... ) ... ... . exclude ( pk = OuterRef ( "pk" )) ... . values ( "pk" ) ... ) >>> When ( Exists ( non_unique_account_type ), then = Value ( "non unique" )) >>> # ... が、結果のフィルタリングには使用できます: >>> non_unique_account_type = ( ... Client . objects . filter ( ... account_type = OuterRef ( "account_type" ), ... ) ... . exclude ( pk = OuterRef ( "pk" )) ... . values ( "pk" ) ... ) >>> Client . objects . filte ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
条件式 — Django 6.1 ドキュメント 10083
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... ul" ), then = "name" ) >>> # Condition can be created using boolean expressions. >>> from django.db.models import Exists , OuterRef >>> non_unique_account_type = ( ... Client . objects . filter ( ... account_type = OuterRef ( "account_type" ), ... ) ... ... . exclude ( pk = OuterRef ( "pk" )) ... . values ( "pk" ) ... ) >>> When ( Exists ( non_unique_account_type ), then = Value ( "non unique" )) >>> # ... が、結果のフィルタリングには使用できます: >>> non_unique_account_type = ( ... Client . objects . filter ( ... account_type = OuterRef ( "account_type" ), ... ) ... . exclude ( pk = OuterRef ( "pk" )) ... . values ( "pk" ) ... ) >>> Client . objects . filte ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
Django 5.2.2 リリースノート — Django 6.1 ドキュメント 9595
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2.2 リリースノート ¶ 2025年6月4日 Django 5.2.2 では、 5.2.1 における深刻度 "low" のセキュリティの問題1件と、いくつかのバグを修正しました。 ... がサポートされなくなっていたリグレッションを修正しました( #36390 )。 Django 5.2 において、 Aggregate 式の filter 引数内で OuterRef を使用した際にクラッシュが発生するリグレッションを修正しました( #36404 )。 Django 5.2 において、PostgreSQL の集約関数 Ar ... rayAgg , StringAgg および JSONBAgg 内で OuterRef を使用した際にクラッシュが発生するリグレッションを修正しました( #36405 )。 Django 5.2 において、管理サイトの filter_hori ... エスケープ モデル QuerySet CompositePrimaryKey キー セキュリティ ログインジェクション 内部 request related サブクラス filter OuterRef type 考慮 外部 リリースノート 問題 リクエスト 潜在的 クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/5.2.2.html
Django 1.11.7 リリースノート — Django 6.1 ドキュメント 8636
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.7 リリースノート ¶ November 1, 2017 Django 1.11.7 fixes several bugs in 1.11.6. バグ修正 ¶ Prevented cache.get_or_set() from caching Non ... ade QuerySet.reverse() affect nulls_first and nulls_last ( #28722 ). Fixed unquoted table names in Subquery SQL when using OuterRef ( #28689 ). 目次 Django 1.11.7 リリースノート バグ修正 前のトピックへ Django 1.11.8 リリースノート 次のトピックへ Django 1 ...
https://man.mtool.work/django/6.1/releases/1.11.7.html
Django 5.2.2 リリースノート — Django 6.1 ドキュメント 8467
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2.2 リリースノート ¶ 2025年6月4日 Django 5.2.2 では、 5.2.1 における深刻度 "low" のセキュリティの問題1件と、いくつかのバグを修正しました。 ... がサポートされなくなっていたリグレッションを修正しました( #36390 )。 Django 5.2 において、 Aggregate 式の filter 引数内で OuterRef を使用した際にクラッシュが発生するリグレッションを修正しました( #36404 )。 Django 5.2 において、PostgreSQL の集約関数 Ar ... rayAgg , StringAgg および JSONBAgg 内で OuterRef を使用した際にクラッシュが発生するリグレッションを修正しました( #36405 )。 Django 5.2 において、管理サイトの filter_hori ...
https://man.mtool.work/django/6.1/releases/5.2.2.html
Django 1.11.7 リリースノート — Django 6.1 ドキュメント 8299
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.7 リリースノート ¶ November 1, 2017 Django 1.11.7 fixes several bugs in 1.11.6. バグ修正 ¶ Prevented cache.get_or_set() from caching Non ... ade QuerySet.reverse() affect nulls_first and nulls_last ( #28722 ). Fixed unquoted table names in Subquery SQL when using OuterRef ( #28689 ). 目次 Django 1.11.7 リリースノート バグ修正 前のトピックへ Django 1.11.8 リリースノート 次のトピックへ Django 1 ...
https://man.mtool.work/django/6.1/releases/1.11.7.html
PREV 1 2 3 NEXT