per page, with , order by , clip by
Results of 1 - 10 of about 88 for operations (0.008 sec.)
Django 4.1 リリースノート — Django 6.1 ドキュメント 11474
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 以前からアップグレー ... ー を参照してください。 非同期の ORM インターフェース ¶ QuerySet now provides an asynchronous interface for all data access operations. These are named as-per the existing synchronous operations but with an a prefix, for example acreate() , aget() , and so ... on. The new interface allows you to write asynchronous code without needing to wrap ORM operations in sync_to_async() : async for author in Author . objects . filter ( name__startswith = "A" ): book = await author . books ... . afirst () Note that, at this stage, the underlying database operations remain synchronous, with contributions ongoing to push asynchronous support down into the SQL compiler, and integrate asyn ...
https://man.mtool.work/django/6.1/releases/4.1.html
Django 4.1 リリースノート — Django 6.1 ドキュメント 11139
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 以前からアップグレー ... ー を参照してください。 非同期の ORM インターフェース ¶ QuerySet now provides an asynchronous interface for all data access operations. These are named as-per the existing synchronous operations but with an a prefix, for example acreate() , aget() , and so ... on. The new interface allows you to write asynchronous code without needing to wrap ORM operations in sync_to_async() : async for author in Author . objects . filter ( name__startswith = "A" ): book = await author . books ... . afirst () Note that, at this stage, the underlying database operations remain synchronous, with contributions ongoing to push asynchronous support down into the SQL compiler, and integrate asyn ...
https://man.mtool.work/django/6.1/releases/4.1.html
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 10469
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... migration code goes here class Migration ( migrations . Migration ): dependencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards ), ] You can also provide hints that will be passed to the allow_migrate() method of ... ation code goes here ... class Migration ( migrations . Migration ): dependencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards , hints = { "target_db" : "default" }), ] もし RunPython や RunSQL 操作が 1 つのモデ ... dels import uuid class Migration ( migrations . Migration ): dependencies = [ ( "myapp" , "0005_populate_uuid_values" ), ] operations = [ migrations . AlterField ( model_name = "mymodel" , name = "uuid" , field = models . UUIDField ( default = uuid . uuid4 ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 10469
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... migration code goes here class Migration ( migrations . Migration ): dependencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards ), ] You can also provide hints that will be passed to the allow_migrate() method of ... ation code goes here ... class Migration ( migrations . Migration ): dependencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards , hints = { "target_db" : "default" }), ] もし RunPython や RunSQL 操作が 1 つのモデ ... dels import uuid class Migration ( migrations . Migration ): dependencies = [ ( "myapp" , "0005_populate_uuid_values" ), ] operations = [ migrations . AlterField ( model_name = "mymodel" , name = "uuid" , field = models . UUIDField ( default = uuid . uuid4 ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
マイグレーション・オペレーション — Django 6.1 ドキュメント 9798
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション・オペレーション ¶ マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーション ... が正しい結果を出力しなくなる可能性があることに十分注意してください。 Django が提供するコア機能は全て django.db.migrations.operations モジュールから利用できます。 より入門的な内容に関しては、 トピックスのマイグレーション を参照ください。 スキーマ・オペレー ... 前の制約を新たな constraint に置き換えます。 特別なオペレーション ¶ RunSQL ¶ class RunSQL ( sql , reverse_sql = None , state_operations = None , hints = None , elidable = False ) [ソース] ¶ データベース上で任意の SQL を実行できるようにします。Django が直接サ ... %s ;" , [ "Reinhardt" ])], ) reverse_sql が None (デフォルト) の場合、 RunSQL オペレーションは元に戻りません。 引数 state_operations にはプロジェクトのステートから見た SQL と等価となる処理を渡すことができます。たとえば、手動でカラムを作成した場合、マイグレ ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
マイグレーション・オペレーション — Django 6.1 ドキュメント 9798
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション・オペレーション ¶ マイグレーションファイルは一つ以上の オペレーション 、データベースに対してマイグレーションが行うべきオペレーション ... が正しい結果を出力しなくなる可能性があることに十分注意してください。 Django が提供するコア機能は全て django.db.migrations.operations モジュールから利用できます。 より入門的な内容に関しては、 トピックスのマイグレーション を参照ください。 スキーマ・オペレー ... 前の制約を新たな constraint に置き換えます。 特別なオペレーション ¶ RunSQL ¶ class RunSQL ( sql , reverse_sql = None , state_operations = None , hints = None , elidable = False ) [ソース] ¶ データベース上で任意の SQL を実行できるようにします。Django が直接サ ... %s ;" , [ "Reinhardt" ])], ) reverse_sql が None (デフォルト) の場合、 RunSQL オペレーションは元に戻りません。 引数 state_operations にはプロジェクトのステートから見た SQL と等価となる処理を渡すことができます。たとえば、手動でカラムを作成した場合、マイグレ ...
https://man.mtool.work/django/6.1/ref/migration-operations.html
索引 — Django 6.1 ドキュメント 9571
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | ... ッド) add_stylesheets() (SyndicationFeed のメソッド) add_view() (ModelAdmin のメソッド) AddConstraint (django.db.migrations.operations のクラス) AddConstraintNotValid (django.contrib.postgres.operations のクラス) AddField (django.db.migrations.operations の ... クラス) AddIndex (django.db.migrations.operations のクラス) AddIndexConcurrently (django.contrib.postgres.operations のクラス) ADDITION (OperationCategory の属性) addslashe ... gether() (BaseDatabaseSchemaEditor のメソッド) ALTERATION (OperationCategory の属性) AlterConstraint (django.db.migrations.operations のクラス) AlterField (django.db.migrations.operations のクラス) AlterIndexTogether (django.db.migrations.operations のクラ ...
https://man.mtool.work/django/6.1/genindex.html
索引 — Django 6.1 ドキュメント 9571
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | ... ッド) add_stylesheets() (SyndicationFeed のメソッド) add_view() (ModelAdmin のメソッド) AddConstraint (django.db.migrations.operations のクラス) AddConstraintNotValid (django.contrib.postgres.operations のクラス) AddField (django.db.migrations.operations の ... クラス) AddIndex (django.db.migrations.operations のクラス) AddIndexConcurrently (django.contrib.postgres.operations のクラス) ADDITION (OperationCategory の属性) addslashe ... gether() (BaseDatabaseSchemaEditor のメソッド) ALTERATION (OperationCategory の属性) AlterConstraint (django.db.migrations.operations のクラス) AlterField (django.db.migrations.operations のクラス) AlterIndexTogether (django.db.migrations.operations のクラ ...
https://man.mtool.work/django/6.1/genindex.html
マイグレーション — Django 6.1 ドキュメント 9128
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに ... べあげ、やり直さなければならないということです (過去の時点にロールバックすることは不可能ということです)。 MySQL 8.0 では DDL operations のパフォーマンスが大幅に強化され、より効率的になり、テーブルの完全な再構築の必要性が減りました。しかし、ロックや中断が完全 ... マイグレーションファイルが生成されたら、期待通りに変更が行われるように、データベースに適用します: $ python manage.py migrate Operations to perform: Apply all migrations: books Running migrations: Applying books.0003_auto... OK マイグレーションを適用したら、マ ... import migrations , models class Migration ( migrations . Migration ): dependencies = [( "migrations" , "0001_initial" )] operations = [ migrations . DeleteModel ( "Tribble" ), migrations . AddField ( "Author" , "rating" , models . IntegerField ( default ...
https://man.mtool.work/django/6.1/topics/migrations.html
マイグレーション — Django 6.1 ドキュメント 9128
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに ... べあげ、やり直さなければならないということです (過去の時点にロールバックすることは不可能ということです)。 MySQL 8.0 では DDL operations のパフォーマンスが大幅に強化され、より効率的になり、テーブルの完全な再構築の必要性が減りました。しかし、ロックや中断が完全 ... マイグレーションファイルが生成されたら、期待通りに変更が行われるように、データベースに適用します: $ python manage.py migrate Operations to perform: Apply all migrations: books Running migrations: Applying books.0003_auto... OK マイグレーションを適用したら、マ ... import migrations , models class Migration ( migrations . Migration ): dependencies = [( "migrations" , "0001_initial" )] operations = [ migrations . DeleteModel ( "Tribble" ), migrations . AddField ( "Author" , "rating" , models . IntegerField ( default ...
https://man.mtool.work/django/6.1/topics/migrations.html
PREV 1 2 3 4 5 6 7 8 9 NEXT