per page, with , order by , clip by
Results of 1 - 10 of about 18 for compiler (0.005 sec.)
ルックアップ API リファレンス — Django 6.1 ドキュメント 12113
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ルックアップ API リファレンス ¶ このドキュメントには、データベースクエリの WHERE 句を構築するための Django API であるルックアップの API リファレンス ... はこのAPIに従う例です。あるクラスが以下のメソッドを実装している場合、そのクラスはクエリ式APIに従っていると言えます: as_sql ( compiler , connection ) ¶ 式の SQL フラグメントを生成します。タプル (sql, params) を返します。 sql は SQL 文字列で、 params はクエリ ... パラメータのリストまたはタプルです。 compiler は SQLCompiler オブジェクトで、他の式をコンパイルするための compile() メソッドを持っています。 connection はクエリの実行に ... 使用する接続です。 expression.as_sql() の呼び出しは通常正しくありません。 代わりに compiler.compile(expression) を使用する必要があります。 compiler.compile() メソッドは式のベンダ固有のメソッドの呼び出しを行います。 ...
https://man.mtool.work/django/6.1/ref/models/lookups.html
ルックアップ API リファレンス — Django 6.1 ドキュメント 12113
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ルックアップ API リファレンス ¶ このドキュメントには、データベースクエリの WHERE 句を構築するための Django API であるルックアップの API リファレンス ... はこのAPIに従う例です。あるクラスが以下のメソッドを実装している場合、そのクラスはクエリ式APIに従っていると言えます: as_sql ( compiler , connection ) ¶ 式の SQL フラグメントを生成します。タプル (sql, params) を返します。 sql は SQL 文字列で、 params はクエリ ... パラメータのリストまたはタプルです。 compiler は SQLCompiler オブジェクトで、他の式をコンパイルするための compile() メソッドを持っています。 connection はクエリの実行に ... 使用する接続です。 expression.as_sql() の呼び出しは通常正しくありません。 代わりに compiler.compile(expression) を使用する必要があります。 compiler.compile() メソッドは式のベンダ固有のメソッドの呼び出しを行います。 ...
https://man.mtool.work/django/6.1/ref/models/lookups.html
カスタムのルックアップを書く — Django 6.1 ドキュメント 11187
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのルックアップを書く ¶ Django には (たとえば exact や icontains などの) フィルタリングを行う 組み込みのルックアップ がたくさんあります。この ... させる必要があります。 from django.db.models import Lookup class NotEqual ( Lookup ): lookup_name = "ne" def as_sql ( self , compiler , connection ): lhs , lhs_params = self . process_lhs ( compiler , connection ) rhs , rhs_params = self . process_rhs ( co ... ならない制約は、文字列 __ を決して含んではならないということです。 We then need to define the as_sql method. This takes a SQLCompiler object, called compiler , and the active database connection. SQLCompiler objects are not documented, but the only thing w ... では、左辺は Author モデルの name フィールドへの参照で、右辺は 'Jack' です。 process_lhs と process_rhs を呼び出して、前述の compiler オブジェクトを使用してSQLに必要な値に変換します。これらのメソッドは、SQL とその SQL に補間されるパラメーターを含むタプルを ...
https://man.mtool.work/django/6.1/howto/custom-lookups.html
カスタムのルックアップを書く — Django 6.1 ドキュメント 11084
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのルックアップを書く ¶ Django には (たとえば exact や icontains などの) フィルタリングを行う 組み込みのルックアップ がたくさんあります。この ... させる必要があります。 from django.db.models import Lookup class NotEqual ( Lookup ): lookup_name = "ne" def as_sql ( self , compiler , connection ): lhs , lhs_params = self . process_lhs ( compiler , connection ) rhs , rhs_params = self . process_rhs ( co ... ならない制約は、文字列 __ を決して含んではならないということです。 We then need to define the as_sql method. This takes a SQLCompiler object, called compiler , and the active database connection. SQLCompiler objects are not documented, but the only thing w ... では、左辺は Author モデルの name フィールドへの参照で、右辺は 'Jack' です。 process_lhs と process_rhs を呼び出して、前述の compiler オブジェクトを使用してSQLに必要な値に変換します。これらのメソッドは、SQL とその SQL に補間されるパラメーターを含むタプルを ...
https://man.mtool.work/django/6.1/howto/custom-lookups.html
クエリ式 (Query Expression) — Django 6.1 ドキュメント 8819
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クエリ式 (Query Expression) ¶ クエリ式 (query expression) は、update、create、filter、order by、annotation、またはaggregateの一部として使用できる値ま ... 。この属性が設定されていて、関数が異なる数の式で呼び出された場合、 TypeError が発生します。デフォルトは None です。 as_sql ( compiler , connection , function = None , template = None , arg_joiner = None , ** extra_context ) [ソース] ¶ データベース関数の SQ ... きです。例えば: django/db/models/functions.py ¶ class ConcatPair ( Func ): ... function = "CONCAT" ... def as_mysql ( self , compiler , connection , ** extra_context ): return super () . as_sql ( compiler , connection , function = "CONCAT_WS" , template = ... ( query , allow_joins , reuse , summarize , for_save ) return c 次に、SQLを生成するメソッドを書きます: def as_sql ( self , compiler , connection , template = None ): sql_expressions , sql_params = [], [] for expression in self . expressions : sql , param ...
https://man.mtool.work/django/6.1/ref/models/expressions.html
クエリ式 (Query Expression) — Django 6.1 ドキュメント 8819
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クエリ式 (Query Expression) ¶ クエリ式 (query expression) は、update、create、filter、order by、annotation、またはaggregateの一部として使用できる値ま ... 。この属性が設定されていて、関数が異なる数の式で呼び出された場合、 TypeError が発生します。デフォルトは None です。 as_sql ( compiler , connection , function = None , template = None , arg_joiner = None , ** extra_context ) [ソース] ¶ データベース関数の SQ ... きです。例えば: django/db/models/functions.py ¶ class ConcatPair ( Func ): ... function = "CONCAT" ... def as_mysql ( self , compiler , connection , ** extra_context ): return super () . as_sql ( compiler , connection , function = "CONCAT_WS" , template = ... ( query , allow_joins , reuse , summarize , for_save ) return c 次に、SQLを生成するメソッドを書きます: def as_sql ( self , compiler , connection , template = None ): sql_expressions , sql_params = [], [] for expression in self . expressions : sql , param ...
https://man.mtool.work/django/6.1/ref/models/expressions.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 7892
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8 リリースノート ¶ April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレー ... suffix , and data_type_check_constraints attributes have moved from the DatabaseCreation class to DatabaseWrapper . The SQLCompiler.as_sql() method now takes a subquery parameter ( #24164 ). The BaseDatabaseOperations.date_interval_sql() method now only ... erride either method. Support for storages that do not accept this argument will be removed in Django 1.10. qn replaced by compiler ¶ In previous Django versions, various internal ORM methods (mostly as_sql methods) accepted a qn (for "quote name") argum ... erence to a function that quoted identifiers for sending to the database. In Django 1.8, that argument has been renamed to compiler and is now a full SQLCompiler instance. For backwards-compatibility, calling a SQLCompiler instance performs the same name ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 6.1 release notes — Django 6.1 ドキュメント 7892
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.1 release notes ¶ August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible ... igns_in_column_aliases feature flag is removed. The DatabaseOperations.binary_placeholder_sql() method now expects a query compiler as an extra positional argument and should return a two-elements tuple composed of an SQL format string and a tuple of ass ... e of associated parameters. This method should now expect to be provided expressions meant to be compiled via the provided compiler argument. The quote_name_unless_alias() method of SQLCompiler , the type of object passed as the compiler argument to the ...
https://man.mtool.work/django/6.1/releases/6.1.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 7892
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8 リリースノート ¶ April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレー ... suffix , and data_type_check_constraints attributes have moved from the DatabaseCreation class to DatabaseWrapper . The SQLCompiler.as_sql() method now takes a subquery parameter ( #24164 ). The BaseDatabaseOperations.date_interval_sql() method now only ... erride either method. Support for storages that do not accept this argument will be removed in Django 1.10. qn replaced by compiler ¶ In previous Django versions, various internal ORM methods (mostly as_sql methods) accepted a qn (for "quote name") argum ... erence to a function that quoted identifiers for sending to the database. In Django 1.8, that argument has been renamed to compiler and is now a full SQLCompiler instance. For backwards-compatibility, calling a SQLCompiler instance performs the same name ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 6.1 release notes — Django 6.1 ドキュメント 7892
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.1 release notes ¶ August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible ... igns_in_column_aliases feature flag is removed. The DatabaseOperations.binary_placeholder_sql() method now expects a query compiler as an extra positional argument and should return a two-elements tuple composed of an SQL format string and a tuple of ass ... e of associated parameters. This method should now expect to be provided expressions meant to be compiled via the provided compiler argument. The quote_name_unless_alias() method of SQLCompiler , the type of object passed as the compiler argument to the ...
https://man.mtool.work/django/6.1/releases/6.1.html
PREV 1 2 NEXT