per page, with , order by , clip by
Results of 1 - 10 of about 46 for bulk (0.006 sec.)
リレーション先オブジェクトのリファレンス 16186
リレーション先オブジェクトのリファレンス class RelatedManager "関係マネージャ(related manager)"とは、1対多または多対多の関係するコンテキストで使用されるマネージャのことです。これは2つのケースで起こります: ForeignKey リレーションの "反対側 ... nyField ( Topping ) この例では、以下のメソッドは topping.pizza_set と pizza.toppings の両方で利用できます。 add ( * objs , bulk = True , through_defaults = None ) aadd ( * objs , bulk = True , through_defaults = None ) 非同期バージョン : aadd() リレー ... リレーションの場合、 QuerySet.update() を使って更新を行います。これにはオブジェクトが既に保存されている必要があります。 引数 bulk=False を使用することで、関係マネージャが e.save() を呼び出して更新を行うことができます。 しかし、多対多のリレーションシップ ... で add() を使用すると、 save() メソッドは呼び出しません ( bulk 引数は存在しません)。 QuerySet.bulk_create() を使用してリレーションシップを作成します。リレーションシップの作成時にカスタム ...
https://man.mtool.work/django/6.1/ref/models/relations.html
データベースアクセスの最適化 10709
データベースアクセスの最適化 Djangoのデータベース層は、開発者がデータベースを最大限活用できるように、さまざまな方法を提供しています。このドキュメントでは、データベースアクセスを最適化する際にとるべき手順を、大まかにいくつかの見出しとしてまと ... ficiency. Use the FETCH_PEERS fetch mode Use the FETCH_PEERS fetch mode to make on-demand field access more efficient with bulk-fetching. Enable it for all usage of your models with a custom manager . Using this fetch mode is easier than declaring fi ... ックスを追加すると、並べ替えのパフォーマンスが向上する可能性があります。 一括メソッドを使用する SQL文の数を減らすために一括(bulk)メソッドを使用する 一括で作成する When creating objects, where possible, use the bulk_create() method to reduce the number ... of SQL queries. For example: Entry . objects . bulk_create ( [ Entry ( headline = "This is a test" ), Entry ( headline = "This is only a test" ), ] ) ...これは下記よりも適切で ...
https://man.mtool.work/django/6.1/topics/db/optimization.html
QuerySet API リファレンス 9687
QuerySet API リファレンス このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としていますので、このドキュメントを読む前にこの 2 つを読んでおくことをおすすめします。 このリファレン ... を使用していて、オブジェクトを作成する必要があるが、そのキーが既にデータベースに存在する場合、 IntegrityError が発生します。 bulk_create() bulk_create ( objs , batch_size = None , ignore_conflicts = False , update_conflicts = False , update_fields = No ... ne , unique_fields = None ) abulk_create ( objs , batch_size = None , ignore_conflicts = False , update_conflicts = False , update_fields = None , unique_fi ... elds = None ) 非同期バージョン : abulk_create() このメソッドは、指定されたオブジェクトのリストを効率的な方法でデータベースに挿入し (通常、オブジェクトの数にかかわ ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
Django 4.1.4 リリースノート 9107
Django 4.1.4 リリースノート 2022年12月6日 Django 4.1.4 では、4.1.3 におけるいくつかのバグを修正しました。 バグ修正 Django 4.1 において、SQLite で ManyToManyField を追加する際に不要なテーブルの再構築が発生するリグレッションが修正されました ( ... した際にクラッシュするバグが修正されました ( #34139 )。 Django 4.1 で、 unique_fields に "pk" が含まれている場合に QuerySet.bulk_create() がクラッシュするバグが修正されました ( #34177 )。 Django 4.1 で、 db_column が設定されたフィールドに対して QueryS ... et.bulk_create() を使用するとクラッシュするバグが修正されました ( #34171 )。 ...
https://man.mtool.work/django/6.1/releases/4.1.4.html
Django 6.0.1 release notes 9107
Django 6.0.1 release notes January 6, 2026 Django 6.0.1 fixes one data loss bug introduced in Django 5.2 as well as several other bugs in Django 6.0. バグ修正 Fixed a bug in Django 5.2 where data exceeding max_length was silently truncated ... by QuerySet.bulk_create() on PostgreSQL ( #33647 ). Fixed a regression in Django 6.0 where querystring mishandled multi-value QueryDict key ... 3.14) ignored the --no-color option and the DJANGO_COLORS setting ( #36376 ). Fixed a regression in Django 6.0 that caused bulk_create() to crash when introspecting the connection on SQLite ( #36818 ). Fixed a visual regression in Django 6.0 for admi ...
https://man.mtool.work/django/6.1/releases/6.0.1.html
Django 6.0.8 release notes 8421
Django 6.0.8 release notes August 4, 2026 Django 6.0.8 fixes one security issue with severity "high", two security issues with severity "moderate", one security issue with severity "low", and several bugs in 6.0.7. CVE-2026-15307: Server-si ... ue has severity "moderate" according to the Django security policy . バグ修正 Fixed a regression in Django 6.0 that caused bulk_create() to crash on databases that support returning rows from bulk inserts when a related object providing the primary k ...
https://man.mtool.work/django/6.1/releases/6.0.8.html
Django 5.2.10 リリースノート 8314
Django 5.2.10 リリースノート January 6, 2026 Django 5.2.10 fixes a data loss bug introduced in Django 5.2 and one bug related to support for Python 3.14. バグ修正 Fixed a bug in Django 5.2 where data exceeding max_length was silently trunca ... ted by QuerySet.bulk_create() on PostgreSQL ( #33647 ). Fixed a bug where management command colorized help (introduced in Python 3.14) ignored ...
https://man.mtool.work/django/6.1/releases/5.2.10.html
Django 1.1 リリースノート 7963
Django 1.1 リリースノート July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... ew list_editable admin option. These fields will show up as form widgets on the list pages, and can be edited and saved in bulk. Admin "actions" You can now define admin actions that can perform some action to a group of models in bulk. Users will be ... able to select objects on the change list page and then apply these bulk actions to all selected objects. Django ships with one pre-defined admin action to delete a group of objects in one fell s ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django 5.2.3 リリースノート 7856
Django 5.2.3 リリースノート 2025年6月10日 Django 5.2.3 では、5.2.2 におけるいくつかのバグが修正されました。また、 Transifex からの最新の文字列翻訳が反映されました。 バグ修正 残存するレスポンスのロギングを django.utils.log.log_response() に移 ... )。 Django 5.2 において、JSONField に対して None を SQL の NULL ではなく JSON の null に誤って変換してしまっていた QuerySet.bulk_update() のリグレッションを修正しました( #36419 )。 Django 5.2.2 において、内部の django.http.MediaType.params プロパティ ...
https://man.mtool.work/django/6.1/releases/5.2.3.html
Django 1.9 リリースノート 7734
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... hmigrations command now supports specifying the starting migration from which migrations will be squashed. モデル QuerySet.bulk_create() now works on proxy models. Database configuration gained a TIME_ZONE option for interacting with databases that s ... gers created by ForeignKey , GenericForeignKey , and ManyToManyField . The add() method on a reverse foreign key now has a bulk parameter to allow executing one query regardless of the number of objects being added rather than one query per object. A ... ed parameters on SQLite. Query expressions can now be used when creating new model instances using save() , create() , and bulk_create() . Request と Response Unless HttpResponse.reason_phrase is explicitly set, it now is determined by the current va ...
https://man.mtool.work/django/6.1/releases/1.9.html
PREV 1 2 3 4 5 NEXT