A

Admin • 833.24K Points
Coach

Q. Which management command is used to show SQL for a migration?

  • (A) sqlmigration
  • (B) migration_sql
  • (C) show_sql
  • (D) printsql
  • Correct Answer - Option(A)
  • Views: 25
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

python manage.py sqlmigration shows the SQL statements for a specific migration.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.