検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 68 for connection (0.037 sec.)
Lookup API reference — Django 4.0.6 ドキュメント 7729
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lements the following methods: as_sql ( compiler , connection ) ¶ Generates the SQL fragment for the expression. ... that can be used to compile other expressions. The connection is the connection used to execute the query. Calli ... ql() for example usage. as_vendorname ( compiler , connection ) ¶ Works like as_sql() method. When an expression ... contain the string "__" . process_lhs ( compiler , connection , lhs = None ) ¶ Returns a tuple (lhs_string, lhs_ ...
https://man.plustar.jp/django/ref/models/lookups.html - [similar]
SchemaEditor — Django 4.0.6 ドキュメント 7729
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ージョンの SchemaEditor を提供しており、好きなときに connection.schema_editor() コンテキストマネージャを使ってアク ... セスできます。 with connection . schema_editor () as schema_editor : schema_edito ... に言及されない限り、すべての属性は読み取り専用です。 connection ¶ SchemaEditor. connection ¶ データベースへの conn ... ection オブジェクト。connection の便利な属性に、現在アクセスしているデータベースの ...
https://man.plustar.jp/django/ref/schema-editor.html - [similar]
django.core.files.uploadhandler — Django 4.0.6 ドキュメント 7573
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... en an upload must abort. """ def __init__ ( self , connection_reset = False ): """ If ``connection_reset`` is `` ... the upload. This will cause the browser to show a "connection reset" error. """ self . connection_reset = connec ... tion_reset def __str__ ( self ): if self . connection_reset : return "StopUpload: Halt current upload." ...
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html - [similar]
Signals — Django 4.0.6 ドキュメント 7488
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... gnals sent by the database wrapper when a database connection is initiated. connection_created ¶ django.db.backe ... nds.signals. connection_created ¶ Sent when the database wrapper makes the ... initial connection to the database. This is particularly useful if yo ... u'd like to send any post connection commands to the SQL backend. このシグナルとともに送 ...
https://man.plustar.jp/django/ref/signals.html - [similar]
How to write custom lookups — Django 4.0.6 ドキュメント 7332
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lookup_name = 'ne' def as_sql ( self , compiler , connection ): lhs , lhs_params = self . process_lhs ( compile ... r , connection ) rhs , rhs_params = self . process_rhs ( compiler ... , connection ) params = lhs_params + rhs_params return ' %s <> ... lookup_name = 'lt' def as_sql ( self , compiler , connection ): lhs , lhs_params = compiler . compile ( self . ...
https://man.plustar.jp/django/howto/custom-lookups.html - [similar]
素の SQL 文の実行 — Django 4.0.6 ドキュメント 7247
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ータベースにいつでも直接アクセスできます。 django.db.connection オブジェクトがデフォルトのデータベース接続に対応し ... 続を利用するには、カーソルオブジェクトを取得するため connection.cursor() を呼び出してください。続いて、 cursor.exe ... で結果の行を取得します。 例: from django.db import connection def my_custom_sql ( self ): with connection . curs ... 場合、特定の接続(とカーソル)を取得するのに django.db.connections を利用できます。 django.db.connections はその別名 ...
https://man.plustar.jp/django/topics/db/sql.html - [similar]
django.utils.log — Django 4.0.6 ドキュメント 7219
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .core import mail from django.core.mail import get_connection from django.core.management.color import color_sty ... mail . mail_admins ( subject , message , * args , connection = self . connection (), ** kwargs ) def connection ... ( self ): return get_connection ( backend = self . email_backend , fail_silently = ...
https://man.plustar.jp/django/_modules/django/utils/log.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 7091
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... be raised. Defaults to None . as_sql ( compiler , connection , function = None , template = None , arg_joiner = ... on = 'CONCAT' ... def as_mysql ( self , compiler , connection , ** extra_context ): return super () . as_sql ( c ... ompiler , connection , function = 'CONCAT_WS' , template = " %(function ... return clone convert_value ( value , expression , connection ) ¶ A hook allowing the expression to coerce value ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
非同期サポート — Django 4.0.6 ドキュメント 7091
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... that you should not pass features of the database connection object when calling sync_to_async() . Doing so wil ... ync import sync_to_async >>> from django.db import connection >>> # In an async context so you cannot use the da ... tabase directly: >>> connection . cursor () ... django.core.exceptions.Synchronous ... or sync_to_async. >>> # Nor can you pass resolved connection attributes across threads: >>> await sync_to_async ...
https://man.plustar.jp/django/topics/async.html - [similar]
FAQ: データベースとモデル — Django 4.0.6 ドキュメント 7048
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... コードを実行してください。 >>> from django.db import connection >>> connection . queries [{'sql': 'SELECT polls_po ... olls.pub_date FROM polls_polls', 'time': '0.002'}] connection.queries は DEBUG が True の場合のみに、利用すること ... ow long the statement took to execute, in seconds. connection.queries にはINSERT, UPDATE, SELECTなどの全てのSQL文 ... ます。 もし 複数のデータベース を利用している場合、 connections の辞書の各要素に対して、同じコードを実行できます: ...
https://man.plustar.jp/django/faq/models.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT