... QL を、実際には実行せずに出力します。これにより、SQL をカスタマイズしたり、マイグレーション フレームワークを使用できます。 dbshell ¶ django-admin dbshell ¶ USER や PASSWORD などの設定で指定されたコネクション パラメータを使用して、 ENGINE 設定で指定された ... ostgreSQL では、次のように psql コマンドの -c フラグを使うことで、素の SQL クエリを直接実行できます。 / $ django-admin dbshell -- -c 'select current_user' current_user -------------- postgres (1 row) ...\> django-admin dbshell -- -c 'select current_ ... -------- postgres (1 row) MySQL/MariaDB では、次のように mysql の -e フラグを使用すると実行できます。 / $ django-admin dbshell -- -e "select user()" +----------------------+ | user() | +----------------------+ | djangonaut@localhost | +------------- ... ... #26627 ). Fixed HStoreField to raise a ValidationError instead of crashing on non-dictionary JSON input ( #26672 ). Fixed dbshell crash on PostgreSQL with an empty database name ( #26698 ). Fixed a regression in queries on a OneToOneField that has to_f ... ... QL を、実際には実行せずに出力します。これにより、SQL をカスタマイズしたり、マイグレーション フレームワークを使用できます。 dbshell ¶ django-admin dbshell ¶ USER や PASSWORD などの設定で指定されたコネクション パラメータを使用して、 ENGINE 設定で指定された ... ostgreSQL では、次のように psql コマンドの -c フラグを使うことで、素の SQL クエリを直接実行できます。 / $ django-admin dbshell -- -c 'select current_user' current_user -------------- postgres (1 row) ...\> django-admin dbshell -- -c 'select current_ ... -------- postgres (1 row) MySQL/MariaDB では、次のように mysql の -e フラグを使用すると実行できます。 / $ django-admin dbshell -- -e "select user()" +----------------------+ | user() | +----------------------+ | djangonaut@localhost | +------------- ... ... #26627 ). Fixed HStoreField to raise a ValidationError instead of crashing on non-dictionary JSON input ( #26672 ). Fixed dbshell crash on PostgreSQL with an empty database name ( #26698 ). Fixed a regression in queries on a OneToOneField that has to_f ... ... ect quoting of database user password when using dbshell on Oracle ( #30307 ). Added compatibility for psycopg2 2.8 ( #30331 ). Fixed a regression in Django 2.2 that caused a cras ... ... a data loss possibility. Fixed a regression in Django 3.2 where the calling process environment would not be passed to the dbshell command on PostgreSQL ( #32687 ). Fixed a performance regression in Django 3.2 when building complex filters with subqueri ... ... ect quoting of database user password when using dbshell on Oracle ( #30307 ). Added compatibility for psycopg2 2.8 ( #30331 ). Fixed a regression in Django 2.2 that caused a cras ... ... a data loss possibility. Fixed a regression in Django 3.2 where the calling process environment would not be passed to the dbshell command on PostgreSQL ( #32687 ). Fixed a performance regression in Django 3.2 when building complex filters with subqueri ... ... メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマンドラインオプション --add-location makemessages コマンドラインオプション --addrport testserver コマンドラインオプショ ... オプション check コマンドラインオプション createcachetable コマンドラインオプション createsuperuser コマンドラインオプション dbshell コマンドラインオプション dumpdata コマンドラインオプション flush コマンドラインオプション inspectdb コマンドラインオプショ ... b_table_comment (Options の属性) db_tablespace (Field の属性) (Index の属性) (Options の属性) db_type() (Field のメソッド) dbshell django-admin command dbshell コマンドラインオプション -- --database deactivate() (django.utils.timezone モジュール) (djang ... ... メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマンドラインオプション --add-location makemessages コマンドラインオプション --addrport testserver コマンドラインオプショ ... オプション check コマンドラインオプション createcachetable コマンドラインオプション createsuperuser コマンドラインオプション dbshell コマンドラインオプション dumpdata コマンドラインオプション flush コマンドラインオプション inspectdb コマンドラインオプショ ... b_table_comment (Options の属性) db_tablespace (Field の属性) (Index の属性) (Options の属性) db_type() (Field のメソッド) dbshell django-admin command dbshell コマンドラインオプション -- --database deactivate() (django.utils.timezone モジュール) (djang ... 2026年10月08日