per page, with , order by , clip by
Results of 1 - 10 of about 22 for chunk (0.007 sec.)
アップロードファイルとアップロードハンドラ — Django 6.1 ドキュメント 12558
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » アップロードファイルとアップロードハンドラ ¶ アップロードファイル ¶ class UploadedFile [ソース] ¶ ファイルアップロード中、実際のファイルデータは req ... アップロードされたファイルが巨大な場合、それをメモリに読み込もうとするとシステムを圧迫する可能性があります。おそらく代わりに chunks() を使うことになるでしょう。 UploadedFile. multiple_chunks ( chunk_size = None ) ¶ アップロードされたファイルが、複数のチ ... て読み込む必要があるほど大きい場合に True を返します。デフォルトでは2.5MB以上のファイルですが、設定可能です。 UploadedFile. chunks ( chunk_size = None ) ¶ ファイルのチャンクを返すジェネレータです。 multiple_chunks() が True の場合、 read() の代わりにこ ... のメソッドをループで使用すべきです。 実際には、常に chunks() を使用するのが最も簡単です。 read() を使用する代わりに chunks() をループ処理することで、大きなファイルがシステムのメモリ ...
https://man.mtool.work/django/6.1/ref/files/uploads.html
アップロードファイルとアップロードハンドラ — Django 6.1 ドキュメント 12558
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » アップロードファイルとアップロードハンドラ ¶ アップロードファイル ¶ class UploadedFile [ソース] ¶ ファイルアップロード中、実際のファイルデータは req ... アップロードされたファイルが巨大な場合、それをメモリに読み込もうとするとシステムを圧迫する可能性があります。おそらく代わりに chunks() を使うことになるでしょう。 UploadedFile. multiple_chunks ( chunk_size = None ) ¶ アップロードされたファイルが、複数のチ ... て読み込む必要があるほど大きい場合に True を返します。デフォルトでは2.5MB以上のファイルですが、設定可能です。 UploadedFile. chunks ( chunk_size = None ) ¶ ファイルのチャンクを返すジェネレータです。 multiple_chunks() が True の場合、 read() の代わりにこ ... のメソッドをループで使用すべきです。 実際には、常に chunks() を使用するのが最も簡単です。 read() を使用する代わりに chunks() をループ処理することで、大きなファイルがシステムのメモリ ...
https://man.mtool.work/django/6.1/ref/files/uploads.html
File オブジェクト — Django 6.1 ドキュメント 11346
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » File オブジェクト ¶ django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されてい ... きます。たとえば、 with file.open() as f: のようにです。 __iter__ () [ソース] ¶ ファイルをイテレートして、1行ずつ返します。 chunks ( chunk_size = None ) [ソース] ¶ ファイルをイテレートし、指定されたサイズの「チャンク」を生成します。 chunk_size のデフォ ... ファイルに特に便利であり、ディスクからストリーミングしてメモリ全体にファイルを保存することを避けることができます。 multiple_chunks ( chunk_size = None ) [ソース] ¶ chunk_size (一括サイズ) で指定されたファイルの全内容にアクセスするために複数のチャンクが ... の取り扱い 次のトピックへ ファイルストレージ API 関連キーワード save ソース ContentFile None size mode content 属性 subclass chunk core files 単位 attribute モード ImageFile 画像 photo モデル バイト サブクラス these itself args kwargs クイック検索 Last ...
https://man.mtool.work/django/6.1/ref/files/file.html
File オブジェクト — Django 6.1 ドキュメント 10269
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » File オブジェクト ¶ django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されてい ... きます。たとえば、 with file.open() as f: のようにです。 __iter__ () [ソース] ¶ ファイルをイテレートして、1行ずつ返します。 chunks ( chunk_size = None ) [ソース] ¶ ファイルをイテレートし、指定されたサイズの「チャンク」を生成します。 chunk_size のデフォ ... ファイルに特に便利であり、ディスクからストリーミングしてメモリ全体にファイルを保存することを避けることができます。 multiple_chunks ( chunk_size = None ) [ソース] ¶ chunk_size (一括サイズ) で指定されたファイルの全内容にアクセスするために複数のチャンクが ...
https://man.mtool.work/django/6.1/ref/files/file.html
Django 4.1 リリースノート — Django 6.1 ドキュメント 8753
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.1 リリースノート ¶ 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレー ... MariaDB, MySQL, PostgreSQL, and SQLite 3.24+. QuerySet.iterator() now supports prefetching related objects as long as the chunk_size argument is provided. In older versions, no prefetching was done. Q objects and querysets can now be combined using ^ ... emote code execution. The usage of QuerySet.iterator() on a queryset that prefetches related objects without providing the chunk_size argument is deprecated. In older versions, no prefetching was done. Providing a value for chunk_size signifies that t ... he additional query per chunk needed to prefetch is desired. Passing unsaved model instances to related filters is deprecated. In Django 5.0, the except ...
https://man.mtool.work/django/6.1/releases/4.1.html
Django 4.1 リリースノート — Django 6.1 ドキュメント 8753
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.1 リリースノート ¶ 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレー ... MariaDB, MySQL, PostgreSQL, and SQLite 3.24+. QuerySet.iterator() now supports prefetching related objects as long as the chunk_size argument is provided. In older versions, no prefetching was done. Q objects and querysets can now be combined using ^ ... emote code execution. The usage of QuerySet.iterator() on a queryset that prefetches related objects without providing the chunk_size argument is deprecated. In older versions, no prefetching was done. Providing a value for chunk_size signifies that t ... he additional query per chunk needed to prefetch is desired. Passing unsaved model instances to related filters is deprecated. In Django 5.0, the except ...
https://man.mtool.work/django/6.1/releases/4.1.html
QuerySet API リファレンス — Django 6.1 ドキュメント 8450
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » QuerySet API リファレンス ¶ このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としてい ... 使用するケースに応じて、常にプロファイルを分析してください! クエリの実行に iterator() を使用した場合、 prefetch_related() は chunk_size の値が指定されたときのみ呼び出されます。 Prefetch オブジェクトを使って、事前呼び出しの操作をより細かくコントロールでき ... 。 Changed in Django 6.1: Support for chaining in_bulk() after values() or values_list() was added. iterator() ¶ iterator ( chunk_size = None ) ¶ aiterator ( chunk_size = None ) ¶ 非同期バージョン : aiterator() Evaluates the QuerySet (by performing the ... mory. すでに評価された クエリセット に対して iterator() を使用すると、クエリを再度評価することになるので注意してください。 chunk_size が与えられている限り、 iterator() は以前の prefetch_related() の呼び出しと互換性があります。より大きな値を指定すると、 ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
QuerySet API リファレンス — Django 6.1 ドキュメント 8450
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » QuerySet API リファレンス ¶ このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としてい ... 使用するケースに応じて、常にプロファイルを分析してください! クエリの実行に iterator() を使用した場合、 prefetch_related() は chunk_size の値が指定されたときのみ呼び出されます。 Prefetch オブジェクトを使って、事前呼び出しの操作をより細かくコントロールでき ... 。 Changed in Django 6.1: Support for chaining in_bulk() after values() or values_list() was added. iterator() ¶ iterator ( chunk_size = None ) ¶ aiterator ( chunk_size = None ) ¶ 非同期バージョン : aiterator() Evaluates the QuerySet (by performing the ... mory. すでに評価された クエリセット に対して iterator() を使用すると、クエリを再度評価することになるので注意してください。 chunk_size が与えられている限り、 iterator() は以前の prefetch_related() の呼び出しと互換性があります。より大きな値を指定すると、 ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
Django 2.0 リリースノート — Django 6.1 ドキュメント 7996
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0 リリースノート ¶ December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグ ... dex of a string inside another string. On Oracle, AutoField and BigAutoField are now created as identity columns . The new chunk_size parameter of QuerySet.iterator() controls the number of rows fetched by the Python database client when streaming res ... e database, QuerySet.iterator() now fetches 2000 rows at a time instead of 100. The old behavior can be restored using the chunk_size parameter. For example: Book . objects . iterator ( chunk_size = 100 ) Providing unknown package names in the package ...
https://man.mtool.work/django/6.1/releases/2.0.html
Django 2.0 リリースノート — Django 6.1 ドキュメント 7996
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0 リリースノート ¶ December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグ ... dex of a string inside another string. On Oracle, AutoField and BigAutoField are now created as identity columns . The new chunk_size parameter of QuerySet.iterator() controls the number of rows fetched by the Python database client when streaming res ... e database, QuerySet.iterator() now fetches 2000 rows at a time instead of 100. The old behavior can be restored using the chunk_size parameter. For example: Book . objects . iterator ( chunk_size = 100 ) Providing unknown package names in the package ...
https://man.mtool.work/django/6.1/releases/2.0.html
PREV 1 2 3 NEXT