per page, with , order by , clip by
Results of 1 - 10 of about 56 for vector (0.005 sec.)
データベース関数 — Django 6.1 ドキュメント 14292
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース関数 ¶ The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggrega ... ject {'name': 'margaret smith', 'alias': 'msmith', 'age': 50} 数学関数 ¶ 数学関数の例では、以下のモデルを使用します: class Vector ( models . Model ): x = models . FloatField () y = models . FloatField () Abs ¶ class Abs ( expression , ** extra ) [ソース ... ] ¶ 数値フィールドまたは式の、絶対値を返します。 使用例: >>> from django.db.models.functions import Abs >>> Vector . objects . create ( x =- 0.5 , y = 1.1 ) >>> vector = Vector . objects . annotate ( x_abs = Abs ( "x" ), y_abs = Abs ( "y ... " )) . get () >>> vector . x_abs , vector . y_abs (0.5, 1.1) トランスフォームとして登録することもできます。たとえば: >>> from django.db.models impo ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
データベース関数 — Django 6.1 ドキュメント 14292
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース関数 ¶ The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggrega ... ject {'name': 'margaret smith', 'alias': 'msmith', 'age': 50} 数学関数 ¶ 数学関数の例では、以下のモデルを使用します: class Vector ( models . Model ): x = models . FloatField () y = models . FloatField () Abs ¶ class Abs ( expression , ** extra ) [ソース ... ] ¶ 数値フィールドまたは式の、絶対値を返します。 使用例: >>> from django.db.models.functions import Abs >>> Vector . objects . create ( x =- 0.5 , y = 1.1 ) >>> vector = Vector . objects . annotate ( x_abs = Abs ( "x" ), y_abs = Abs ( "y ... " )) . get () >>> vector . x_abs , vector . y_abs (0.5, 1.1) トランスフォームとして登録することもできます。たとえば: >>> from django.db.models impo ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
全文検索 — Django 6.1 ドキュメント 10078
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 全文検索 ¶ django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの ... Set [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> これにより、データベース内の body_text フィールドから to_tsvector が作成され、検索語 'Cheese' から plainto_tsquery が作成されます。両方ともデフォルトのデータベース検索設定を使用しています。 ... 得されます。 search ルックアップを使用するには、 INSTALLED_APPS に 'django.contrib.postgres' を含める必要があります。 SearchVector ¶ class SearchVector ( * expressions , config = None , weight = None ) [ソース] ¶ 単一のフィールドに対する検索は素晴らしい ... ntry インスタンスは Blog に属しており、 tagline フィールドを持っています。両方のフィールドに対してクエリを行うには、 SearchVector を使用します: >>> from django.contrib.postgres.search import SearchVector >>> Entry . objects . annotate ( ... search = Se ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
全文検索 — Django 6.1 ドキュメント 10078
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 全文検索 ¶ django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの ... Set [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> これにより、データベース内の body_text フィールドから to_tsvector が作成され、検索語 'Cheese' から plainto_tsquery が作成されます。両方ともデフォルトのデータベース検索設定を使用しています。 ... 得されます。 search ルックアップを使用するには、 INSTALLED_APPS に 'django.contrib.postgres' を含める必要があります。 SearchVector ¶ class SearchVector ( * expressions , config = None , weight = None ) [ソース] ¶ 単一のフィールドに対する検索は素晴らしい ... ntry インスタンスは Blog に属しており、 tagline フィールドを持っています。両方のフィールドに対してクエリを行うには、 SearchVector を使用します: >>> from django.contrib.postgres.search import SearchVector >>> Entry . objects . annotate ( ... search = Se ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
Django 3.2.17 リリースノート — Django 6.1 ドキュメント 7779
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.2.17 リリースノート ¶ 2023年2月1日 Django 3.2.17 では 3.2.16 における深刻度 "moderate" のセキュリティの問題を修正しました。 CVE-2023-23969: ... es of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language head ... 1日 moderate セキュリティ 問題 修正 ヘッダー 攻撃 可能性 headers cached repetitive parsing leads potential denial service vector クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/3.2.17.html
Django 4.0.9 リリースノート — Django 6.1 ドキュメント 7779
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.0.9 リリースノート ¶ 2023年2月1日 Django 4.0.9 では 4.0.8 における深刻度 "moderate" のセキュリティの問題を修正しました。 CVE-2023-23969: Ac ... es of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language head ... 1日 moderate セキュリティ 問題 修正 ヘッダー 攻撃 可能性 headers cached repetitive parsing leads potential denial service vector クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/4.0.9.html
Django 2.2.27 リリースノート — Django 6.1 ドキュメント 7676
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.27 リリースノート ¶ 2022年2月1日 Django 2.2.27 では 2.2.26 における深刻度 "medium" のセキュリティの問題2件を修正しました。 CVE-2022-22818 ... プレート経由の XSS の可能性 ¶ The {% debug %} template tag didn't properly encode the current context, posing an XSS attack vector. In order to avoid this vulnerability, {% debug %} no longer outputs information when the DEBUG setting is False , and it ... リースノート 1日 medium セキュリティ 問題 修正 テンプレート 経由 可能性 template didn properly encode current posing attack vector order avoid vulnerability longer outputs クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/2.2.27.html
Django 3.2.12 リリースノート — Django 6.1 ドキュメント 7676
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.2.12 リリースノート ¶ 2022年2月1日 Django 3.2.12 では 3.2.11 における深刻度 "medium" のセキュリティの問題2件を修正しました。 CVE-2022-22818 ... プレート経由の XSS の可能性 ¶ The {% debug %} template tag didn't properly encode the current context, posing an XSS attack vector. In order to avoid this vulnerability, {% debug %} no longer outputs information when the DEBUG setting is False , and it ... リースノート 1日 medium セキュリティ 問題 修正 テンプレート 経由 可能性 template didn properly encode current posing attack vector order avoid vulnerability longer outputs クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/3.2.12.html
Django 3.2.17 リリースノート — Django 6.1 ドキュメント 7101
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.2.17 リリースノート ¶ 2023年2月1日 Django 3.2.17 では 3.2.16 における深刻度 "moderate" のセキュリティの問題を修正しました。 CVE-2023-23969: ... es of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language head ...
https://man.mtool.work/django/6.1/releases/3.2.17.html
Django 4.0.9 リリースノート — Django 6.1 ドキュメント 7101
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.0.9 リリースノート ¶ 2023年2月1日 Django 4.0.9 では 4.0.8 における深刻度 "moderate" のセキュリティの問題を修正しました。 CVE-2023-23969: Ac ... es of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language head ...
https://man.mtool.work/django/6.1/releases/4.0.9.html
PREV 1 2 3 4 5 6 NEXT